From 5e636c789599d73c083411781cb19d87f1239bba Mon Sep 17 00:00:00 2001 From: arcnmx Date: Tue, 16 Apr 2024 15:10:28 -0700 Subject: [PATCH] fix(nginx): increase `proxy_headers_hash_bucket_size` > [warn] could not build optimal proxy_headers_hash --- systems/hakurei/nixos.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/systems/hakurei/nixos.nix b/systems/hakurei/nixos.nix index dfc9d055..20e56980 100644 --- a/systems/hakurei/nixos.nix +++ b/systems/hakurei/nixos.nix @@ -284,6 +284,10 @@ in { ssl.cert.enable = true; }; }; + commonHttpConfig = '' + proxy_headers_hash_max_size 1024; + proxy_headers_hash_bucket_size 128; + ''; }; services.samba.tls = { useACMECert = "samba";