502 Bad Gateway

Igor A. Ippolitov iippolitov at nginx.com
Wed Aug 14 07:37:30 UTC 2019


Ken,

Try setting 'proxy_buffer_size' to a higher value. Say 128k.

On 14.08.2019 8:47, Ken Wright wrote:
> Maxim and anyone else who cares to chime in,
>
> I'm still enough of a newbie that I have trouble understanding the error
> logs.  The one for nginx reads the following at the end:
>
> 2019/08/12 22:48:51 [error] 8274#8274: *1 upstream sent too big header
> while reading response header from upstream, client: 192.168.1.133,
> server: _, request: "GET /nextcloud/index.php HTTP/1.1", upstream:
> "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "192.168.1.101",
> referrer: "http://192.168.1.101/nextcloud/"
>
> I don't understand how to make the header smaller.  I really don't
> understand what's going on; nginx says it's working, and php shows the
> phpinfo page, but when I actually try to run an application nothing works!
>
> Ken
>



More information about the nginx mailing list