Catch all domains *and* subdomains?

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?

Phillip B Oldham
ActivityHQ
[email protected] mailto:[email protected]


Policies

This e-mail and its attachments are intended for the above named
recipient(s) only and may be confidential. If they have come to you in
error, please reply to this e-mail and highlight the error. No action
should be taken regarding content, nor must you copy or show them to
anyone.

This e-mail has been created in the knowledge that Internet e-mail is
not a 100% secure communications medium, and we have taken steps to
ensure that this e-mail and attachments are free from any virus. We must
advise that in keeping with good computing practice the recipient should
ensure they are completely virus free, and that you understand and
observe the lack of security when e-mailing us.

On Thu, Oct 7, 2010 at 3:42 PM, Phillip O. [email protected]
wrote:

Suggestions?
just don’t specify server_name


O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

2010/10/7 Edho P Arief [email protected]

}
nginx mailing list
[email protected]
http://nginx.org/mailman/listinfo/nginx

Remove server_name _;

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs