fix: keycloak nginx buffer size

Tune according to
https://www.getpagespeed.com/server-setup/nginx/tuning-proxy_buffer_size-in-nginx
This commit is contained in:
teutat3s 2023-11-03 13:07:53 +01:00
parent 7a7e4ba4b4
commit b9e18a167c
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 5 additions and 0 deletions

View file

@ -25,6 +25,7 @@
"/" = {
extraConfig = ''
proxy_pass http://127.0.0.1:8080;
proxy_buffer_size 8k;
'';
};
};

View file

@ -19,6 +19,10 @@ in {
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
appendHttpConfig = ''
# https://nginx.org/en/docs/hash.html
proxy_headers_hash_max_size 1024;
'';
};
security.acme = {