I have problem here. I want to try access through browser and use http://localhost/phppgadmin to access phppgadmin but the result of that is:
502 Bad Gateway
nginx
I sure phppgadmin is exist in var/www. How to fix it?
I have problem here. I want to try access through browser and use http://localhost/phppgadmin to access phppgadmin but the result of that is:
502 Bad Gateway
nginx
I sure phppgadmin is exist in var/www. How to fix it?
At a guess I will say that maybe you're trying to use php-fpm and it's not currently running, so nginx can't connect to the socket.
try this and then restart nginx
sudo apt install php-fpm