increase buffer size for apps with large headers to load

This commit is contained in:
Karol Wypchlo 2021-04-29 17:51:21 +02:00
parent 893b424c59
commit 3bfdd820dc
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