Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Вопрос по server_name
- To: nginx-ru@xxxxxxxxx
- Subject: Re: Вопрос по server_name
- From: Dmitriy Lyalyuev <dmitriy@xxxxxxxxxxxxx>
- Date: Fri, 15 Feb 2013 12:12:36 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lyalyuev.pp.ua; s=mail; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=lcmrbyhZNzeR+dTI7fjF8RMw6blmF/gmUo+HjIz8SL4=; b=KcsYXoulPOJ0QmgUS4U2W9rMGkw4y4eHWJkrcqCOwecSQnRUAaGzyyN+MvQrrtVP+Q /E7l+lRCudwf/kILpp43JK4aJhBOz4dLa0GTHOF7zP+L8dVi9xNBzjMu2BnAUXEbJZO/ UUYm/zp5o+S067x98JLFRvpbY6KWuvNrOHZhA=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lyalyuev.info; s=mail; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=lcmrbyhZNzeR+dTI7fjF8RMw6blmF/gmUo+HjIz8SL4=; b=P3gxvvQ1QytQsAndHctf+BGmIeKrkXATfg7ozhCFYd5hXTJKpLY1ULtLDx/Wn2z7WA s9CFmGnqxxr3Q66FRs8Q8UBMS/5B3H3bp8QuDH2DMo6UGnQ7hwqZIcOppDBSmfVB+d1b kneXTwDx/Rj7Snfuhjm1fBxYVK996paYVRr/o=
- In-reply-to: <511E0750.6030002@lyalyuev.info>
- References: <511E0750.6030002@lyalyuev.info>
Всем спасибо за разъяснения, все понял.
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@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|