Map Module and Domains

Oleksandr V. Typlyns'kyi wangsamp at gmail.com
Wed Jul 4 21:56:43 UTC 2012


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

-- 
WNGS-RIPE



More information about the nginx mailing list