From a88dad59041b20fba1bf3cdca272b2c39e2ffbca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9OSW?= Date: Sat, 12 Aug 2017 09:17:11 +0200 Subject: [PATCH] Fix 502 issue on CGI buffer (#48) Complete error message is: upstream sent too big header while reading response header from upstream --- conf/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index ab20536..d0819fc 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -15,6 +15,8 @@ location YNH_WWW_PATH { fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_read_timeout 600; + fastcgi_buffers 16 16k; + fastcgi_buffer_size 32k; } # Include SSOWAT user panel.