rewrite cycle
    Руслан Закиров 
    ruz at sports.ru
       
    Thu Dec 15 15:09:54 UTC 2016
    
    
  
On Thu, Dec 15, 2016 at 5:08 PM, Maxim Dounin <mdounin at 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/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20161215/bdcea3cd/attachment.html>
    
    
More information about the nginx
mailing list