Mercurial > hg > nginx-quic
diff src/core/ngx_output_chain.c @ 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 | d620f497c50f |
children | bcdfc39bf44d |