Welcome! Log In Create A New Profile

Advanced

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

Yichun Zhang (agentzh)
October 10, 2013 05:40PM
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?

I totally understand the "fun part" of this usage. It's just that it's
hard to get everything exactly right, especially with 3rd-party
modules enabled. And a "fun configuration" that is not guaranteed to
always work is no longer fun at all :)

> 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.

Regards,
-agentzh

_______________________________________________
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 1465 October 10, 2013 06:32PM



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

Online Users

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