标签:nginx header upstream php head big fast color ons
在 nginx.conf
的http段,加入下面的配置:
proxy_buffer_size 128k; proxy_buffers 32 32k; proxy_busy_buffers_size 128k;
重启后一般就可以解决,如果还是报502,再在host配置的php段加入下面配置:
fastcgi_buffer_size 128k; fastcgi_buffers 4 256k; fastcgi_busy_buffers_size 256k;
重启nginx即可。
修复Nginx报错:upstream sent too big header while reading response header from upstream
标签:nginx header upstream php head big fast color ons
原文地址:https://www.cnblogs.com/xiaojf/p/11779752.html