Reikon (@reikon)
16 months ago
183 Views

My site is behind Cloudflare, used to work fine. Today suddenly got error: “Error 502, bad gateway”. My server is nginx and php.

#Cloudflare
Richman: @reikon check your server error log
16 months ago Report
1 people followed this question
0

If your server is nginx, maybe you page query exceeded the buffer limit. try to edit your nginx.conf

fastcgi_buffers 16 16k; 
fastcgi_buffer_size 32k;

and then restart your nginx.

Bevans @bevans
16 months ago