Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Вопрос по server_name
- To: nginx-ru@xxxxxxxxx
- Subject: Вопрос по server_name
- From: Dmitriy Lyalyuev <dmitriy@xxxxxxxxxxxxx>
- Date: Fri, 15 Feb 2013 12:00:48 +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:content-type:content-transfer-encoding; bh=RtovI4kpR6vjVtuv0ZebXbz7Jfog6yRdZ2LvLH3jxmk=; b=e0Z85AoEujqvD1A5bSoaFhYi+LUt0Ak12ZDDOCSyC6lLleA/8XFDgPrELxtVAhgXNe DQQI0eQEBAb8Kny9svHC7riwtdNfShciGAmJ08DTEnmbBQG1Pz8/eoQkrK/5ws8bukDK dOcezsU8gJUXa7fSYP8wWX2hRuADu6elTxktI=
- 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:content-type:content-transfer-encoding; bh=RtovI4kpR6vjVtuv0ZebXbz7Jfog6yRdZ2LvLH3jxmk=; b=CcWMQo70RsMwvm2cr1niRgCl1eeHx+y1bBwHejrmq0ClMaw86gFSEXSTRCAc6l2d0R IP12eZqfPKiniNPkxkd6MZf6+LF187vd/NZ6f1X8gE2EMZUM0eLZ23Hx5KTROY6KAscJ FNomYgspzccB8Rx0Mqe/j8VStavgb7CK/DB7s=
Добрый день.
Есть конфиг типа:
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
|