Welcome! Log In Create A New Profile

Advanced

Re: simple auth question for nested sections

Maxim Dounin
March 24, 2016 01:30PM
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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

simple auth question for nested sections

Jonathan Vanasco March 22, 2016 08:42PM

Re: simple auth question for nested sections

B.R. March 23, 2016 07:22AM

Re: simple auth question for nested sections

Francis Daly March 23, 2016 02:42PM

Re: simple auth question for nested sections

Jonathan Vanasco March 23, 2016 07:58PM

Re: simple auth question for nested sections

B.R. March 24, 2016 01:20PM

Re: simple auth question for nested sections

Maxim Dounin March 24, 2016 01:30PM

Re: simple auth question for nested sections

B.R. March 24, 2016 01:38PM

Re: simple auth question for nested sections

Jonathan Vanasco March 24, 2016 03:36PM

Re: simple auth question for nested sections

B.R. March 24, 2016 04:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 139
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready