Hi I have a wordpress site running on forge. I get this error.
502 Bad Gateway
017/03/07 09:40:30 [error] 12586#12586: *13909 upstream sent too big header while reading response header from upstream, client: 22.214.171.124, server: example.com, request: "GET /wp-admin/post.php?post=123&action=edit HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.1-fpm.sock:", host: "example.com", referrer: "http://ecample.com/wp-admin/edit.php?post_type=page&orderby=title&order=asc"
Online I have found a few solutions.
The first one is this but the problem is that I don't know where to add it. I have tried both in etc/nginx/nginx.conf and in the location block in sites-available.
fastcgi_buffers 16 16k; fastcgi_buffer_size 32k;
Any clues on how to fix this?
Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.