Merge pull request #700 from SkynetLabs/increase-buffers

increase buffer size for apps with large headers to load
This commit is contained in:
Ivaylo Novakov 2021-04-29 18:27:06 +02:00 committed by GitHub
commit 3347a5996f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,5 @@
# if you are expecting large headers (ie. Skynet-Skyfile-Metadata), tune these values to your needs # if you are expecting large headers (ie. Skynet-Skyfile-Metadata), tune these values to your needs
proxy_buffer_size 128k; # read more: https://www.getpagespeed.com/server-setup/nginx/tuning-proxy_buffer_size-in-nginx
proxy_buffers 4 256k; proxy_buffer_size 4096k;
proxy_busy_buffers_size 256k; proxy_buffers 64 256k;
proxy_busy_buffers_size 4096k; # at least as high as proxy_buffer_size