Code Review
/
oom
/
offline-installer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
98ea828
)
nginx update for long server names
99/83599/1
author
eronkeo
<ronan.keogh@est.tech>
Thu, 28 Mar 2019 12:03:26 +0000
(12:03 +0000)
committer
eronkeo
<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
patch
|
blob
|
history
diff --git
a/ansible/roles/nginx/templates/nginx.conf.j2
b/ansible/roles/nginx/templates/nginx.conf.j2
index
ff9d2a9
..
9860a16
100644
(file)
--- 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;