nginx getting 502 bad gateway

Hello, I’m using a freshly installed virtualmin on a new VPS. I add a virtual server and installed the phpmyadmin script. When I go to domain.com/phpmyadmin/ I get the 502 Bad Gateway Error. The static files such as domain.com/phpmyadmin/print.css is working fine so I know the vhost config is correct.

What’s going on here? I’ve already manually restarted nginx.

There is a support request for this issue here:

https://virtualmin.com/node/30129

There is a support request for this issue here:

https://virtualmin.com/node/30129

Access Denied