Map Module and Domains

Ruslan Ermilov ru at nginx.com
Thu Jul 5 14:52:38 UTC 2012


On Thu, Jul 05, 2012 at 12:56:43AM +0300, Oleksandr V. Typlyns'kyi wrote:
> Today Jul 5, 2012 at 01:45 SplitIce wrote:
> 
> > And I take it that the first block is the 'default' so I should add my
> > 'bad-site' block last like you have? Just clarification.
> > 
> > I really like the way you did this, way more clean than the if based system
> > I was planning to use (and less evil).
> 
>   It doesn't metter if you add default_server parameter to the right place.
>   http://nginx.org/en/docs/http/ngx_http_core_module.html#listen

http://nginx.org/en/docs/http/request_processing.html



More information about the nginx mailing list