Nginx 502 Bad Gateway error ONLY in Firefox

前端 未结 4 1979
被撕碎了的回忆
被撕碎了的回忆 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-08 23:56

    I seem to have found a work around that fixed my problem. After some additional Google research, I added the following lines to my Nginx config:

    proxy_buffers 8 16k;
    proxy_buffer_size 32k;
    

    However, I still don't know why this worked and why only Firefox seemed to have problems. If anyone can shed light on this, or offer a better solution, it would be much appreciated!

提交回复
热议问题