Nginx 502 Bad Gateway error ONLY in Firefox

前端 未结 4 1985
被撕碎了的回忆
被撕碎了的回忆 2021-02-08 23:14

I am running a website locally, all the traffic is routed through NGinx which then dispatches requests to PHP pages to Apache and serves static files. Works perfectly in Chrome

4条回答
  •  感情败类
    2021-02-09 00:07

    open /etc/nginx/nginx.conf and add the following lines into http section :

    fastcgi_buffers 8 16k;
    fastcgi_buffer_size 32k;
    

    This fix worked for me in a CI web application. read more at http://www.adminsehow.com/2012/01/fix-nginx-502-bad-gateway-error/

提交回复
热议问题