Why is my nginx alias not working?
Figured out a way. I'm not sure if it's the BEST, but it's certainly working right now.
Here's what I did:
location ~ ^/phpmyadmin/(.*)$
{
alias /home/phpmyadmin/$1;
}
I'm not sure but have you tried writing it this way:
location /phpmyadmin/
{
alias /home/phpmyadmin/;
}
Also, what's the URI from which you are trying to access it?
As far as I understand it, you have to use the URI
/home/phpmyadmin/
and not just
/phpmyadmin/
You can read more about it here: http://wiki.nginx.org/HttpCoreModule