server_names_hash_bucket_size is now a variable.

This commit is contained in:
Andrea Dell'Amico 2024-03-12 10:13:04 +01:00
parent 3ff421cee3
commit 9b7cc5b11a
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@ nginx_worker_connections: 1024
nginx_multi_accept: 'off'
nginx_worker_rlimit_nofile: 2048
nginx_server_tokens: 'off'
nginx_server_names_hash_bucket_size: 64
nginx_keepalive_timeout: 75s
nginx_send_timeout: 60s

View File

@ -34,7 +34,7 @@ http {
send_timeout {{ nginx_send_timeout }};
types_hash_max_size 2048;
server_tokens {{ nginx_server_tokens }};
# server_names_hash_bucket_size 64;
server_names_hash_bucket_size {{ nginx_server_names_hash_bucket_size }};
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;