Nginx 0.8.54: Index files bug?

Dayo nginx-forum at nginx.us
Fri Feb 11 18:36:50 MSK 2011


Narrowed the issue down to the try_files directive.

These configurations work:


1. URL = www.site.com, Result = 200 OK
[code]
server {
...
	index index.html;
	location / {
		#try_files $uri $uri/;
	}
}
[/code]

2. URL = www.site.com, Result = 200 OK
[code]
server {
...
	location / {
	        index index.html;
		#try_files $uri $uri/;
	}
}
[/code]

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




More information about the nginx mailing list