phpmyadmin from install script doesn't work with Nginx

I'm using Nginx and trying to install phpmyadmin with the installer script. I manually added:

location /phpmyadmin/ {
index index.html index.htm;

to the nginx.conf server block, and when trying to access I get a blank page.

Can you advise what I need to do to get phpmyadmin to work with nginx?



Howdy -- what errors do you get in the logs when accessing phpMyAdmin?

Hi, thanks for the response. Can you advise what logs I should be looking at?

I noticed that it's not isolated to phpmyadmin. I just tried installing Roundcube and it results in the same: 502 Bad Gateway error when I goto to my domain.

After I uninstall the scripts, the domain will still result in the 502 Bad Gateway.

The only script I can install is WordPress which works as expected. However, if I install any other script, remove it, I can no longer access the WordPress page, and the same 502 Bad Gateway.