Welcome! Log In Create A New Profile

Advanced

Re: Вопрос по server_name

Dmitriy Lyalyuev
February 15, 2013 05:14AM
Всем спасибо за разъяснения, все понял.

15.02.2013 12:00, Dmitriy Lyalyuev пишет:
> Добрый день.
>
> Есть конфиг типа:
> 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: 121
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