nginx-0.7.31
Igor Sysoev
is at rambler-co.ru
Tue Jan 20 16:00:15 MSK 2009
On Tue, Jan 20, 2009 at 10:22:32AM -0200, Juan Fco. Giordana wrote:
> This approach seems interesting, but why did the functionality changed
> in first place?
The reason has been in the same e-mail above. Here is a copy:
The change has been appeared due to Mongrel-type configuration:
location / {
try_files /system/maintenance.html
$uri $uri/index.html $uri.html
@mongrel;
}
location @mogrel {
proxy_pass http://mongrel;
}
when "/" exists, but /index.html is not exist, then request was handled
locally and return 403.
> Igor Sysoev wrote:
> >I think we can say explicitly that we want to test directory existance
> >using trailing slash:
> >
> > try_files $uri $uri/ @php;
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list