simple auth question for nested sections

B.R. reallfqq-nginx at yahoo.fr
Thu Mar 24 17:36:37 UTC 2016


Thanks Maxim for your lights!

Please discard all the crap I wrote before and apologies to Jonathan, then.
:oP
---
*B. R.*

On Thu, Mar 24, 2016 at 6:27 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:

> Hello!
>
> On Thu, Mar 24, 2016 at 06:17:44PM +0100, B.R. wrote:
>
> > I guess the docs logic is reversed: it is explicitely stated when a
> > directive inherits, which must be that way because not considered the
> > default behavior (although I am not in Igor's head...).
>
> No, by default all directives are inherited from previous levels.
> The only exceptions are:
>
> - location content handlers (proxy_pass, fastcgi_pass, scgi_pass,
>   uwsgi_pass, memcached_pass, empty_gif, stub_status, mp4, flv,
>   perl);
>
> - rewrite directives (if, rewrite, break, return);
>
> - try_files.
>
> In most cases this is more or less obvious when directives are not
> inherited, though docs can be a bit more clear on this.
>
> --
> Maxim Dounin
> http://nginx.org/
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160324/5d0da1bf/attachment.html>


More information about the nginx mailing list