summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-07-11 17:26:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-07-11 17:26:46 -0300
commitc508a79bbd25ef1eca7a63f4c70ab528cc7992d7 (patch)
treeb428e2ac08ce5868a1b9c7eda08de8b452f40b59
parent35854c6de09df5ab5a5d374cbe31bc8571dfa07b (diff)
downloadpuppet-nginx-c508a79bbd25ef1eca7a63f4c70ab528cc7992d7.tar.gz
puppet-nginx-c508a79bbd25ef1eca7a63f4c70ab528cc7992d7.tar.bz2
Adding server_names_hash_bucket_size on nginx.conf
-rw-r--r--templates/nginx.conf.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/nginx.conf.erb b/templates/nginx.conf.erb
index ca88b45..b2be1eb 100644
--- a/templates/nginx.conf.erb
+++ b/templates/nginx.conf.erb
@@ -9,6 +9,10 @@ events {
}
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;