Tweak main nginx.conf using overriding tweak file to increase server_names_hash_bucket_size
This commit is contained in:
parent
1ad3229088
commit
88d8e9287a
2 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ COPY logs-nginx-error.runit /etc/service/logs-nginx-error/run
|
||||||
RUN chmod +x /etc/service/*/run
|
RUN chmod +x /etc/service/*/run
|
||||||
COPY NginxDefault /etc/nginx/sites-enabled/default
|
COPY NginxDefault /etc/nginx/sites-enabled/default
|
||||||
COPY NginxSSL /etc/nginx/sites-enabled/default-ssl
|
COPY NginxSSL /etc/nginx/sites-enabled/default-ssl
|
||||||
|
COPY Nginx-tweak.conf /etc/nginx/conf.d/tweak.conf
|
||||||
COPY NginxTemplate.twig /app/
|
COPY NginxTemplate.twig /app/
|
||||||
# Disable daemonising in nginx
|
# Disable daemonising in nginx
|
||||||
RUN sed -i '1s;^;daemon off\;\n;' /etc/nginx/nginx.conf
|
RUN sed -i '1s;^;daemon off\;\n;' /etc/nginx/nginx.conf
|
||||||
|
|
|
||||||
1
bouncer/Nginx-tweak.conf
Normal file
1
bouncer/Nginx-tweak.conf
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
server_names_hash_bucket_size 128;
|
||||||
Loading…
Reference in a new issue