From Dev.to
Nginx 502 Bad Gateway with PHP-FPM: Causes and Fixes
A 502 page tells you nothing. It means Nginx asked PHP-FPM for a response and either couldn't reach it or got something it couldn't use. The browser can't tell you which, but the Nginx error log can,...
