comparison src/http/ngx_http.h @ 5715:790ba7484bb6

Fixed config parsing of the last try_files parameter. Do not taste the last parameter against directory, as otherwise it would result in the trailing slash being cut from the parameter value. Notably, this prevents an internal redirect to an empty URI if the parameter is set to the literal slash: location / { try_files $uri /; }
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 28 May 2014 20:18:05 +0400
parents 3a48775f1535
children f8ee988cfe6d
comparison
equal deleted inserted replaced
5714:80bd391c90d1 5715:790ba7484bb6