Devops & Infrastructure - DeployHQ Blog

An insight into the way we run the infrastructure that runs all our services, or news about the DevOps world

NGINX 502 Bad Gateway: Causes and Fixes

Posted on

Why NGINX returns 502 Bad Gateway — upstream timeouts, wrong upstream addresses, FastCGI/PHP-FPM failures, plus SELinux gotchas, with fixes.