From 3bfdd820dc12f7f631b935b488a7c66180e2642c Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 29 Apr 2021 17:51:21 +0200 Subject: [PATCH] increase buffer size for apps with large headers to load --- docker/nginx/conf.d/include/proxy-buffer | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/nginx/conf.d/include/proxy-buffer b/docker/nginx/conf.d/include/proxy-buffer index f7a2b12e..0fafbade 100644 --- a/docker/nginx/conf.d/include/proxy-buffer +++ b/docker/nginx/conf.d/include/proxy-buffer @@ -1,4 +1,5 @@ # if you are expecting large headers (ie. Skynet-Skyfile-Metadata), tune these values to your needs -proxy_buffer_size 128k; -proxy_buffers 4 256k; -proxy_busy_buffers_size 256k; +# read more: https://www.getpagespeed.com/server-setup/nginx/tuning-proxy_buffer_size-in-nginx +proxy_buffer_size 4096k; +proxy_buffers 64 256k; +proxy_busy_buffers_size 4096k; # at least as high as proxy_buffer_size