Welcome! Log In Create A New Profile

Advanced

question about the context of map directive

杨镭
May 04, 2011 03:00PM
Hi,

The context of map directive is *http* as documented on wiki.nginx.org. This
means all the requests will go through the map filter phase.
This is not ideal when you have many virtual hosts.

For example, we've 50+ virtual hosts. When one of them need map variables,
the others automatically inherited those settings because there is no way to
limit it to server context.

If this is the situation, can someone know the internals of nginx explain
why the map module can't work at server level.
Thanks.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

question about the context of map directive

杨镭 May 04, 2011 03:00PM

Re: question about the context of map directive

Igor Sysoev May 04, 2011 03:12PM

Re: question about the context of map directive

Igor Sysoev May 04, 2011 03:16PM

Re: question about the context of map directive

Maxim Dounin May 04, 2011 04:36PM

Re: question about the context of map directive

杨镭 May 04, 2011 10:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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