# file generated by gen.sh v1.1.9 20.06.2014 10:25:54 Start nginx 'yes' or 'no'.
Default: START_NGINX='no'
Configure nginx manually 'yes' or 'no'.
If set to 'yes' configuration file /etc/nginx/nginx.conf will not be generated.
It is your responsibility to manually create a valid configuration file.
Default: NGINX_MAN_CONFIG='no'
Server type:
reverse_proxy nginx will work as a reverse proxy
load_balancer nginx will work as a load balancer
Configuration for server type web_server will probably be avaliable in the future.
Use NGINX_MAN_CONFIG='yes' to configure a web server.
Default: NGINX_SERVER_TYPE='reverse_proxy'
Defines the number of worker processes.
The optimal value depends on many factors including (but not limited to) the number of CPU cores, the
number of hard disk drives that store data, and load pattern. When one is in doubt, setting it to the
number of available CPU cores would be a good start (the value 'auto' will try to autodetect it).
Default: NGINX_WORKER_PROCESSES='auto'
Sets the maximum number of simultaneous connections that can be opened by a worker process.
It should be kept in mind that this number includes all connections (e.g. connections with proxied
servers, among others), not only connections with clients. Another consideration is that the actual
number of simultaneous connections cannot exceed the current limit on the maximum number of open files,
which can be changed by worker_rlimit_nofile.
Default: NGINX_WORKER_CONNECTIONS='1024'
Number of listen directives
Default: NGINX_SERVER_LISTEN_N='1'
Argument of nth listen directive
Sets the address and port for IP, or the path for a UNIX-domain socket on which the server will accept
requests. Both address and port, or only address or only port can be specified. An address may also
be a hostname, for example:
   127.0.0.1:8000
   127.0.0.1
   8000
   *:8000
   localhost:8000
IPv6 addresses are specified in square brackets:
   [::]:8000
   [::1]
UNIX-domain socket:
   unix:/var/run/nginx_sock

Default: NGINX_SERVER_LISTEN_1='80'
Sets names of a virtual server.
Default: NGINX_SERVER_NAME='localhost'
Logfile name and level. A relative filename will be interpreted relativ to /var/log/nginx/.
Configure a syslog server with syslog:server=address. It's NOT possible to disable error logging using NGINX_ERROR_LOG='off'.
Default: NGINX_ERROR_LOG='error.log'
Logfile name and level. A relative filename will be interpreted relativ to /var/log/nginx/.
'off' disables access loging. Configure a syslog server with syslog:server=address.
Default: NGINX_ACCESS_LOG='access.log'
Anonymize IP logging in nginx acccess log 'yes' or 'no'
Default: NGINX_LOGANON='no'
Only for IPv4 addresses
16Bit : Keep 16 of 32 bits
Example 192.168.4.16 will be mapped to 192.168.0.0
24Bit : Keep 24 of 32 bits
Example 192.168.4.16 will be mapped to 192.168.4.0

Default: NGINX_LOGANON_MODE='16Bit'
Use logrotate to rotate the nginx error log and access log. Check if NGINX_ROTATE_LOGS has to be 'no' when using NGINX_MAN_CONFIG='yes'.
Default: NGINX_ROTATE_LOGS='yes'
Number of logs to save.
Default: NGINX_LOGROTATE_COUNT='6'
Interval: daily, weekly, monthly
Default: NGINX_LOGROTATE_INTERVAL='daily'
Load stub status module 'yes' or 'no'.
Default: NGINX_STUB_STATUS_LOAD='no'
Location of stub status. You can acces the status via http://<servername or serverip><NGINX_STUB_STATUS_LOCATION> E.g. http://eisgcc.ap.de/basic_status
Default: NGINX_STUB_STATUS_LOCATION='/basic_status'
Enables or disables buffering of responses from the proxied server. Values 'on' or 'off'.
Default: NGINX_PROXY_BUFFERING='off'
Sets the protocol and address of a proxied server.
Default: NGINX_PROXY_PASS_URL='http://mydestination:80'
Name of upstream definition.
Default: NGINX_UPSTREAM_NAME='myupstream'
Number of server in upstream definition.
Default: NGINX_LB_SERVER_N='0'
Address of nth server. Weight of nth server. Maximum fails of nth server. Fail timeout of nth server in seconds. Is nth server a backup server 'yes' or 'no'.