Nginx upstream sent too big header

When i login to a PrestaShop web site, i get error on a Plesk server.

On checking error login for the site in folder /var/www/vhosts/domain.com/logs/proxy_error_log, i found following error message

proxy_error_log:2020/11/25 19:41:41 [error] 1809#0: *39664 upstream sent too big header while reading response header from upstream, client: 59.92.71.53, server: tulivesi.com, request: “POST /en/login?back=my-account HTTP/2.0”, upstream: “https://shop.serverok.in:7081/en/login?back=my-account”, host: “shop.serverok.in”, referrer: “https://shop.serverok.in/en/login?back=my-account”

To fix, add following to nginx config.

On Plesk, go to the domain name, then click “Apache & nginx Settings”. On next page add following code and click OK.

Plesk Nginx

See Nginx

Leave a Reply

Your email address will not be published. Required fields are marked *