Welcome! Log In Create A New Profile

Advanced

RE: Two domains and multiple server blocks

Reinis Rozitis
August 12, 2017 09:28AM
> From: nginx [mailto:nginx-bounces@nginx.org] On Behalf Of Iurii Medvedev
>
> https://nginx.ru/en/docs/http/ngx_http_core_module.html#server_name

And?

There is clearly written:

"
The first two of the names mentioned above can be combined in one:
server {
server_name .example.com;
}
"

Which expands to example.com and *.example.com.

The only concern could be performance (similar as with regular expression location blocks).

rr

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

Two domains and multiple server blocks

Jamesadamar August 12, 2017 03:21AM

Re: Two domains and multiple server blocks

basti August 12, 2017 04:18AM

Re: Two domains and multiple server blocks

Jamesadamar August 12, 2017 05:08AM

RE: Two domains and multiple server blocks

Reinis Rozitis August 12, 2017 09:00AM

RE: Two domains and multiple server blocks

Iurii Medvedev August 12, 2017 09:04AM

RE: Two domains and multiple server blocks

Reinis Rozitis August 12, 2017 09:12AM

Re: Two domains and multiple server blocks

Iurii Medvedev August 12, 2017 09:18AM

RE: Two domains and multiple server blocks

Reinis Rozitis August 12, 2017 09:28AM

Re: RE: Two domains and multiple server blocks

Jamesadamar August 12, 2017 11:07AM

RE: RE: Two domains and multiple server blocks

Reinis Rozitis August 12, 2017 04:02PM

Re: RE: RE: Two domains and multiple server blocks

Jamesadamar August 12, 2017 04:09PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 128
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