From 07806df3d3257e36013d15825d2237eaec1e7235 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 15 Feb 2011 17:16:16 -0200 Subject: Managing default site and nginx.conf --- templates/nginx.conf.puppetmaster.erb | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 templates/nginx.conf.puppetmaster.erb (limited to 'templates/nginx.conf.puppetmaster.erb') 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/*; +} -- cgit v1.2.3