Welcome! Log In Create A New Profile

Advanced

Вопрос по server_name

Dmitriy Lyalyuev
February 15, 2013 05:02AM
Добрый день.

Есть конфиг типа:
server{
listen 80 default;
server_name ~^(?:www\.)*(?<HBW>.+)$;
...
}

server{
listen 10.0.3.132:80;
server_name example.com www.example.com;
...
}

При обращении на test.example.com попадаю во второй сервер. Это ж вроде
не верно. Или чего-то не понимаю?

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

Вопрос по server_name

Dmitriy Lyalyuev February 15, 2013 05:02AM

Re: Вопрос по server_name

Igor Sysoev February 15, 2013 05:06AM

Re: Вопрос по server_name

VovansystemS February 15, 2013 05:06AM

Re: Вопрос по server_name

Anton Yuzhaninov February 15, 2013 05:06AM

Re: Вопрос по server_name

Dmitriy Lyalyuev February 15, 2013 05:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 77
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready