Catch all domains *and* subdomains?

Adrian Janeczek loleslav.pl at gmail.com
Thu Oct 7 14:09:16 MSD 2010


2010/10/7 Edho P Arief <edhoprima at gmail.com>

> On Thu, Oct 7, 2010 at 3:42 PM, Phillip Oldham <phill at activityhq.com>
> wrote:
> >  How can I configure nginx to catch all domains and all subdomains of any
> > domains?
> >
> > Using the following catches all domains, but doesn't seem to catch
> > subdomains:
> >
> > server {
> > server_name _;
> > }
> >
> > Suggestions?
>
> just don't specify server_name
>
>
> --
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

Remove server_name _;

-- 
Pozdrawiam Admin sieci WidNet(http://widnet.eu/)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20101007/8a935a29/attachment.html>


More information about the nginx mailing list