summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nginx/templates/nginx.conf.j2
diff options
context:
space:
mode:
authoreronkeo <ronan.keogh@est.tech>2019-03-28 12:03:26 +0000
committereronkeo <ronan.keogh@est.tech>2019-03-28 12:03:26 +0000
commitaae996e16efd1336100f300a0f2489326451d9cd (patch)
treeb64d8199c9408e8aa882baa85d4c468c97a01b73 /ansible/roles/nginx/templates/nginx.conf.j2
parent98ea82804e23245082f2a7b9363ea5b10300329a (diff)
nginx update for long server names
This issue addresses the following error when starting nginx container: nginx: [emerg] could not build the \ server_names_hash, you should increase \ server_names_hash_bucket_size: 64 Change-Id: I369075edd16801aca6b09c6727370060225c428c Issue-ID: OOM-1765 Signed-off-by: eronkeo <ronan.keogh@est.tech>
Diffstat (limited to 'ansible/roles/nginx/templates/nginx.conf.j2')
-rw-r--r--ansible/roles/nginx/templates/nginx.conf.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/nginx/templates/nginx.conf.j2 b/ansible/roles/nginx/templates/nginx.conf.j2
index ff9d2a9c..9860a168 100644
--- a/ansible/roles/nginx/templates/nginx.conf.j2
+++ b/ansible/roles/nginx/templates/nginx.conf.j2
@@ -5,6 +5,7 @@ events {
}
http {
+ server_names_hash_bucket_size 64;
error_log /var/log/nginx/error.log debug;
access_log /var/log/nginx/access.log;