Rewrite before regex location

Joyce Babu joyce at joycebabu.com
Fri May 6 22:27:57 UTC 2016


Oops! The local configuration was *location ^~ @rewrite_news {...}*

On Sat, May 7, 2016 at 3:54 AM, Joyce Babu <joyce at joycebabu.com> wrote:

> 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/72ac2b1a/attachment.html>


More information about the nginx mailing list