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?
Thanks,
John
look in the wiki at the server_name directive. (wildcards)
That was what I was looking for.
Thanks.
John
On 24 Mai 2011 15h00 WEST, [email protected] 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. Server names
server {
server_name *.project.example.com;
(…)
}
— appa