enable proxy buffering for calls to OIDC endpoints

This commit is contained in:
Martin McKeaveney 2024-11-16 14:50:56 +00:00
parent 300e7ca0e4
commit 04a2da6a64
1 changed files with 6 additions and 0 deletions

View File

@ -106,6 +106,12 @@ http {
location ~ ^/api/(system|admin|global)/ {
proxy_set_header Host $host;
# Enable buffering for potentially large OIDC configs
proxy_buffering on;
proxy_buffer_size 16k;
proxy_buffers 4 32k;
proxy_pass $worker;
}