fix(nginx): [warn] could not build optimal proxy_headers_hash

nginx: [warn] could not build optimal proxy_headers_hash, you should
increase either proxy_headers_hash_max_size: 2048 or
proxy_headers_hash_bucket_size: 64; ignoring
proxy_headers_hash_bucket_size
This commit is contained in:
teutat3s 2024-01-17 15:16:06 +01:00
parent 94ae6c9302
commit ffdf55993f
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -20,8 +20,8 @@ in {
recommendedProxySettings = true; recommendedProxySettings = true;
recommendedTlsSettings = true; recommendedTlsSettings = true;
appendHttpConfig = '' appendHttpConfig = ''
# https://nginx.org/en/docs/hash.html # https://my.f5.com/manage/s/article/K51798430
proxy_headers_hash_max_size 1024; proxy_headers_hash_bucket_size 128;
''; '';
}; };