try_files and a nested location regexp

Sergey Kandaurov pluknet at nginx.com
Thu Oct 16 09:59:54 UTC 2014


On Oct 16, 2014, at 1:38 PM, igorb <nginx-forum at nginx.us> wrote:
> [...]
> So what is wrong with the usage of try_files in the initial regexp-based
> location config?

That is because a location defined with a regular expression has no fixed
length to make a replacement in try_files, which is what alias do.

-- 
Sergey Kandaurov



More information about the nginx mailing list