Tweak main nginx.conf using overriding tweak file to increase server_names_hash_bucket_size

This commit is contained in:
Greyscale 2022-05-06 01:41:15 +02:00
parent 1ad3229088
commit 88d8e9287a
No known key found for this signature in database
GPG key ID: EF017054C3E9CD59
2 changed files with 2 additions and 0 deletions

View file

@ -40,6 +40,7 @@ COPY logs-nginx-error.runit /etc/service/logs-nginx-error/run
RUN chmod +x /etc/service/*/run
COPY NginxDefault /etc/nginx/sites-enabled/default
COPY NginxSSL /etc/nginx/sites-enabled/default-ssl
COPY Nginx-tweak.conf /etc/nginx/conf.d/tweak.conf
COPY NginxTemplate.twig /app/
# Disable daemonising in nginx
RUN sed -i '1s;^;daemon off\;\n;' /etc/nginx/nginx.conf

1
bouncer/Nginx-tweak.conf Normal file
View file

@ -0,0 +1 @@
server_names_hash_bucket_size 128;