A WordPress 502 Bad Gateway error means NGINX received the request, forwarded it to PHP-FPM for processing, and got no valid response back. The fix is almost always one of seven things: PHP-FPM is stopped, the socket path is mismatched, the FPM worker pool is exhausted, NGI... (Read more)