From ffdf55993fb7afa798069926e0dba90c062ca95d Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 17 Jan 2024 15:16:06 +0100 Subject: [PATCH] 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 --- hosts/nachtigall/apps/nginx.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/nachtigall/apps/nginx.nix b/hosts/nachtigall/apps/nginx.nix index 5dd659c..d1f5a3f 100644 --- a/hosts/nachtigall/apps/nginx.nix +++ b/hosts/nachtigall/apps/nginx.nix @@ -20,8 +20,8 @@ in { recommendedProxySettings = true; recommendedTlsSettings = true; appendHttpConfig = '' - # https://nginx.org/en/docs/hash.html - proxy_headers_hash_max_size 1024; + # https://my.f5.com/manage/s/article/K51798430 + proxy_headers_hash_bucket_size 128; ''; };