From aae996e16efd1336100f300a0f2489326451d9cd Mon Sep 17 00:00:00 2001 From: eronkeo Date: Thu, 28 Mar 2019 12:03:26 +0000 Subject: 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 --- ansible/roles/nginx/templates/nginx.conf.j2 | 1 + 1 file changed, 1 insertion(+) (limited to 'ansible/roles') 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; -- cgit 1.2.3-korg