Welcome! Log In Create A New Profile

Advanced

Re: Disallowing multiple http {} blocks in nginx.conf?

Maxim Dounin
October 10, 2013 06:32PM
Hello!

On Thu, Oct 10, 2013 at 02:39:45PM -0700, Yichun Zhang (agentzh) wrote:

> Hello!
>
> On Thu, Oct 10, 2013 at 1:21 PM, Maxim Dounin wrote:
> >
> > I don't thinks that it's a good idea to disallow configurations
> > with multiple http{} blocks. While this wasn't claimed to be
> > supported, it allows fun things like running multiple
> > configuration isolated, and e.g. makes merging configs from
> > multiple servers much easier.
> >
>
> Is this going to get officially supported?

May be. At least it's not something should be officially
disallowed, I think.

[...]

> > AFAIR, as of now only one of standard modules has problems with
> > this - embeeded perl, and it has appropriate "caveat emptor"
> > clause in it's documentation.
> >
>
> Are you suggesting 3rd-party modules should always put a similar
> caveat in their documentation too? That's kinda sad and can lead to
> more confusions in the future because not every user reads the whole
> documentation carefully enough. I hope we can have a better solution
> here.

No, I just said that all non-experimental official modules can
cope with multiple http{} blocks, and this is another reason to
not disallow multiple http{} blocks, but find a better solution
instead.

--
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Disallowing multiple http {} blocks in nginx.conf?

Yichun Zhang (agentzh) 6291 October 10, 2013 03:48PM

Re: Disallowing multiple http {} blocks in nginx.conf?

Maxim Dounin 1767 October 10, 2013 04:22PM

Re: Disallowing multiple http {} blocks in nginx.conf?

Yichun Zhang (agentzh) 1302 October 10, 2013 05:40PM

Re: Disallowing multiple http {} blocks in nginx.conf?

Maxim Dounin 1461 October 10, 2013 06:32PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 179
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