diff options
Diffstat (limited to 'templates/nginx.conf.puppetmaster.erb')
-rw-r--r-- | templates/nginx.conf.puppetmaster.erb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/nginx.conf.puppetmaster.erb b/templates/nginx.conf.puppetmaster.erb new file mode 100644 index 0000000..a5c5765 --- /dev/null +++ b/templates/nginx.conf.puppetmaster.erb @@ -0,0 +1,34 @@ +user www-data; +worker_processes <%= worker_processes %>; + +#error_log /var/log/nginx/error.log; +error_log /dev/null; +pid /var/run/nginx.pid; + +events { + worker_connections <%= worker_connections %>; +} + +http { + # see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524785 + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547722 + server_names_hash_bucket_size 100; + + include /etc/nginx/mime.types; + default_type application/octet-stream; + + #access_log /var/log/nginx/access.log; + access_log /dev/null; + + sendfile on; + #tcp_nopush on; + + #keepalive_timeout 0; + keepalive_timeout 65; + tcp_nodelay on; + + gzip on; + + include /etc/nginx/conf.d/*.conf; + include /etc/nginx/sites-enabled/*; +} |