Nginx multiple php sites

Anoop Alias anoopalias01 at
Tue Jul 15 14:31:03 UTC 2014

Perhaps this didnt work for you because you have

root  /var/www/example/;

in the php location . Move up the root in location / to the server {}
 level and delete the root from php location . This is also the best
approach as per nginX docs

*Anoop P Alias*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list