Merge pull request #15015 from Budibase/oidc-proxy-buffering

enable proxy buffering for calls to OIDC endpoints
This commit is contained in:
Martin McKeaveney 2024-11-16 14:55:41 +00:00 committed by GitHub
commit 5a4af89636
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;
}