nginx update for long server names 99/83599/1
authoreronkeo <ronan.keogh@est.tech>
Thu, 28 Mar 2019 12:03:26 +0000 (12:03 +0000)
committereronkeo <ronan.keogh@est.tech>
Thu, 28 Mar 2019 12:03:26 +0000 (12:03 +0000)
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>
ansible/roles/nginx/templates/nginx.conf.j2

index ff9d2a9..9860a16 100644 (file)
@@ -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;