Quick Fix: 502 Bad Gateway on Nginx on Fresh Ubuntu 18.04 installation! (PHP-FPM)

Nginx Logo

Here is a quick fix for an issue I’ve seen come up over and over again, you’ve got a fresh install of php-fpm on Ubuntu 18.04, you’ve enabled it through /etc/nginx/sites-enabled/default and now on any .php page you receive: 502 Bad Gateway. Here is a quick and easy way to fix it. Step 1: Make …

Read moreQuick Fix: 502 Bad Gateway on Nginx on Fresh Ubuntu 18.04 installation! (PHP-FPM)