Update config
This commit is contained in:
@@ -1,17 +1,37 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# ===============================================================================
|
||||||
export OWNER=root
|
# YOU SHOULD CHANGE THOSE.
|
||||||
export PHP_OWNER=root
|
# ===============================================================================
|
||||||
export PORT=80
|
export NS_PORT='80' # $BIND_IP:80.
|
||||||
export BIND_IP=145.239.109.73
|
export ADMIN_PORT='8282' # $BIND_IP:8282.
|
||||||
export HOSTDATA=/hostdata/
|
export BIND_IP='145.239.109.73' # $BIND_IP:$NS_PORT Will be used for your nginx vhosts configs.
|
||||||
export HOSTDATA_DEF=/hostdata/default/public_html/
|
export MY_OS='UBUNTU14' # (UBUNTU14 = Ubuntu 14.04, CENTOS7 = Centos 7.x, Debian7 = Debian 7.9).
|
||||||
export WANT_EXTRA=yes # or no?
|
export SYM_IT='/nginx' # (Easy way to find nginx 'cd /nginx').
|
||||||
|
# ===============================================================================
|
||||||
|
# ===============================================================================
|
||||||
|
|
||||||
|
|
||||||
export NGINX_RAILS_UNICORN_CONF_FILE=/etc/nginx/conf.d/rails-unicorn.conf
|
|
||||||
export NGINX_RAILS_THIN_CONF_FILE=/etc/nginx/conf.d/rails-thin.conf
|
# ===============================================================================
|
||||||
export NGINX_PYRAMID_CONF_FILE=/etc/nginx/conf.d/pyramid.conf
|
# I DON'T GAVE SUPPORT IF YOU CHANGE THOSE.
|
||||||
export NGINX_DEFAULT_CONF_FILE=/etc/nginx/conf.d/default.conf
|
# ===============================================================================
|
||||||
export NGINX_DJANGO_CONF_FILE=/etc/nginx/conf.d/django.conf
|
export OWNER='root' # Under which user will nginx run!
|
||||||
export NGINX_PHP_CONF_FILE=/etc/nginx/conf.d/php-fpm.conf
|
export PHP_OWNER='root' # Under which group will nginx run!
|
||||||
|
export HOSTDATA='/hostdata/' # In which folder will website files stored!
|
||||||
|
export HOSTDATA_DEF='/hostdata/default/public_html/' # Where is the default_server folder.
|
||||||
|
|
||||||
|
# CONFIGS.
|
||||||
|
# ===============================================================================
|
||||||
|
export NGINX_CONF='/nginx/nginx.conf' # nginx.conf
|
||||||
|
export VHOST_LIVE_DIR='/nginx/live/' # Live sites.conf folder.
|
||||||
|
export DEFAULT_SERVER='/nginx/live/default.conf' # Where is the default_server conf.
|
||||||
|
|
||||||
|
# EXAMPLE OF EXTRA CONFIGS.
|
||||||
|
# ===============================================================================
|
||||||
|
export NGINX_RAILS_UNICORN_CONF_FILE='/etc/nginx/conf.d/rails-unicorn.conf'
|
||||||
|
export NGINX_RAILS_THIN_CONF_FILE='/etc/nginx/conf.d/rails-thin.conf'
|
||||||
|
export NGINX_PYRAMID_CONF_FILE='/etc/nginx/conf.d/pyramid.conf'
|
||||||
|
export NGINX_DJANGO_CONF_FILE='/etc/nginx/conf.d/django.conf'
|
||||||
|
export NGINX_PHP_CONF_FILE='/etc/nginx/conf.d/php-fpm.conf'
|
||||||
|
# ===============================================================================
|
||||||
|
# ===============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user