Nginx HttpAccessModule command invalid when rewrite command existed

li zJay zjay1987 at gmail.com
Wed Nov 9 14:35:44 UTC 2011


In the following simple case:

location /entry1 {
     allow 127.0.0.1;
     deny all;
     rewrite ***;
}

the allow/deny command has no effect. Is that because rewrite command works
in the earlier phase?

Thanks!

On Wed, Nov 9, 2011 at 10:30 PM, li zJay <zjay1987 at gmail.com> wrote:

> In the following simple case:
>
> location /entry1 {
>     allow 127.0.0.1;
>
> }
>
> --
>
>
>


--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20111109/e6c2b544/attachment.html>


More information about the nginx mailing list