Merge pull request 'fix: keycloak nginx buffer size' (#44) from fix/keycloak-nginx-buffer-size into main

Reviewed-on: pub-solar/infra#44
Reviewed-by: b12f <hello@benjaminbaedorf.eu>
This commit is contained in:
b12f 2023-11-03 17:12:24 +00:00
commit b8fb9fd867
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873
2 changed files with 5 additions and 0 deletions

View file

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

View file

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