Rewrite before regex location

Joyce Babu joyce at joycebabu.com
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
"@rewrite_news"

Both are running version 1.10.0 :(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160507/8d9cbe7e/attachment.html>


More information about the nginx mailing list