LNMP of Nginx 502 Bad Gateway error possible causes and solutions

Sometimes php-fpm unexpectedly stopped, so the first thing to check is the status php-fpm, if it is down, the need to open.

systemctl status php-fpm

The best set about boot: systemctl enable php-fpm

Guess you like

Origin blog.51cto.com/1926500/2442743