Working with include directive and wildcards?

Igor Sysoev is at rambler-co.ru
Sun Jun 29 17:33:13 MSD 2008


On Sun, Jun 29, 2008 at 02:13:29AM -0700, mike wrote:

> On 6/29/08, Igor Sysoev <is at rambler-co.ru> wrote:
> 
> > +   server_name _;
> 
> so "_" in this context is basically "ignore the Host header" -
> otherwise it wouldn't work properly with multiple sites on the same IP
> right?

Yes, "_" is invalid DNS name. But you may set in default server
some real default names.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list