I\'ve set up Nginx as my main web server and have two Mochiweb based servers behind it. Certain requests are reverse-proxied to these two servers. now, I want to access php
Perhaps it searches for index.html? Try changing to
location /phpmyadmin { root /var/www/nginx-default/phpMyAdmin; index index.php; }
and add section below, to avoid case-related issues
location /phpMyAdmin { rewrite ^/* /phpmyadmin last; }