Welcome! Log In Create A New Profile

Advanced

Re: Wildcard domains as vhost

António P. P. Almeida
May 24, 2011 10:14AM
On 24 Mai 2011 15h00 WEST, skebi69@gmail.com wrote:

> [1 <multipart/alternative (7bit)>] [1.1 <text/plain; ISO-8859-1
> (7bit)>] I tried to google this but could not hit the right keywords
> (been a long week)...
>
> We have DNS set up so that all requests ending in
> .project.example.com (i.e. bob.project.example.com) go to the same
> machine. How can I set up sites-enabled so that all requests for
> *.project.example.com get treated the same?

Cf. http://nginx.org/en/docs/http/server_names.html#wildcard_names

server {
server_name *.project.example.com;
(...)
}

--- appa


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Wildcard domains as vhost

John Kennedy May 24, 2011 10:02AM

Re: Wildcard domains as vhost

SplitIce May 24, 2011 10:06AM

Re: Wildcard domains as vhost

John Kennedy May 24, 2011 10:14AM

Re: Wildcard domains as vhost

António P. P. Almeida May 24, 2011 10:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 119
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready