Alias does not work with php

tapir nginx-forum at
Sat Dec 17 14:58:59 UTC 2011

I've added "fastcgi_param SCRIPT_FILENAME
and now it works.

As you might predict "$document_root/wordpress" is the alias for
"location /".
So what's the correct way of doing this? I mean I have other aliases as
well and I would like php to work with those also.


Posted at Nginx Forum:,220191,220197#msg-220197

More information about the nginx mailing list