Catch all domains *and* subdomains?

Edho P Arief edhoprima at gmail.com
Thu Oct 7 13:21:25 MSD 2010


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



More information about the nginx mailing list