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