I created an entry in virtuals.conf for phpMyAdmin and restarted Nginx, but I can not get it to actually server phpMyAdmin. PHP is installed and configured with Nginx for fast-cgi, the virtuals.conf entry syntax checks out fine, and the mysql server is running.
Also FWIW, centos is the hostname of my CentOS VM I'm running.
Here is what my entry looks like:
server {
listen 80;
server_name mysql.centos;
location / {
root /usr/share/phpMyAdmin;
index index.php;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /usr/share/phpMyAdmin$fastcgi_script_name;
include fastcgi_params;
}
}