index directive not taking effect in case of alias

kustodian nginx-forum at nginx.us
Fri Aug 24 13:19:16 UTC 2012


You could also define index inside the server block, outside the location
block:

server {
index   index.php;

location ...

location ...
}

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,229985,230102#msg-230102



More information about the nginx mailing list