Rewrite before regex location

Joyce Babu joyce at
Fri May 6 22:24:51 UTC 2016

It is working fine on my mac. But when I try to use it on my Cent OS
server, it is failing with error

nginx: [emerg] location "[^/]\.php$" cannot be inside the named location

Both are running version 1.10.0 :(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list