On Thu, Dec 15, 2016 at 5:08 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:
> [...]
>
> > 2016/12/15 14:24:02 [notice] 15695#0: *6 rewritten data:
> "/bin/view/Main/WebHome", ...
>
> [...]
>
> > 2016/12/15 14:24:02 [debug] 15695#0: *6 test location: ~ "^/([A-Z_].*)$"
> > 2016/12/15 14:24:02 [debug] 15695#0: *6 using configuration
> "^/([A-Z_].*)$"
>
> The configuration in question relies on case-sensitive location
> matching and won't work correctly with case-insensitive location
> matching nginx uses on Windows and macOS. As per the debug log,
> it looks like case-insensitive location matching is used in your
> case.
>
Yep, it's Mac OS. Solved by turning off case insensitivity with (?-i).
location ~ ^(?-i)/[A-Z_].*$ {
....
}
Didn't know about this aspect of nginx on Mac and Win.
--
Руслан Закиров
Руководитель отдела разработки веб-сервисов
+7(916) 597-92-69, ruz @ http://www.sports.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx