diff --git a/changelog.d/5-internal/nginz-map-hash-bucket-size b/changelog.d/5-internal/nginz-map-hash-bucket-size new file mode 100644 index 00000000000..2ad170b4ce5 --- /dev/null +++ b/changelog.d/5-internal/nginz-map-hash-bucket-size @@ -0,0 +1 @@ +charts/{nginz,cannon}: Increase map_hash_bucket_size for nginx to 128 \ No newline at end of file diff --git a/charts/cannon/templates/conf/_nginx.conf.tpl b/charts/cannon/templates/conf/_nginx.conf.tpl index 9fb06e22dc1..a402deab9b0 100644 --- a/charts/cannon/templates/conf/_nginx.conf.tpl +++ b/charts/cannon/templates/conf/_nginx.conf.tpl @@ -35,6 +35,7 @@ http { ignore_invalid_headers off; types_hash_max_size 2048; + map_hash_bucket_size 128; server_names_hash_bucket_size 64; server_name_in_redirect off; diff --git a/charts/nginz/templates/conf/_nginx.conf.tpl b/charts/nginz/templates/conf/_nginx.conf.tpl index 3ef95941d07..2f2e486c35c 100644 --- a/charts/nginz/templates/conf/_nginx.conf.tpl +++ b/charts/nginz/templates/conf/_nginx.conf.tpl @@ -35,6 +35,7 @@ http { ignore_invalid_headers off; types_hash_max_size 2048; + map_hash_bucket_size 128; server_names_hash_bucket_size 64; server_name_in_redirect off;