|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Редирект с *.domain.dom на WWW.domain.dom
- To: nginx-ru@xxxxxxxxx
- Subject: Re: Редирект с *.domain.dom на WWW.domain.dom
- From: "Виталий Каточка" <vkatochka@xxxxxxxxx>
- Date: Tue, 6 May 2008 17:13:49 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=IRf5WON4O8XFWRv8fstY2FzMoORHQ77Gebwvr/qVWB0=; b=qv/nRs3N20CSgRtUqwGLNfXCWI9ZKMwR7WKMTo/vxU4BSvsHLue/sCxpwDhItGQ/qQMQ0srD+km2tZPXIxqfm8SfacVn28xq44Nxc4c0npStTOyQfCaNHaQvmAbPrZKk/3Px6W9DD7TKab2hUqDSY4CtiyvqRVeFmMpd8NTzDF0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=MipfhsiJnO1fyHprt9d9JBrs9OucdJj20BCqU5wvSampS50YKc1DyLyvftm8/WpRmkUdTPf1kHdmcnU62o57weFIAdud11jVDQuydQxe1VufNlzuFVzsEH/+hMmovfdzfQAKnalJ3JDkY3QRoGBO4AXNzJCA6NveiZbrqlCUIJE=
- In-reply-to: <968106490.20080506145927@xxxxxxxxx>
- References: <4820368C.6030908@xxxxxxxxx> <968106490.20080506145927@xxxxxxxxx>
А как быть, если доменное имя явно не указывается в server? server { listen ip; ??? }
6 мая 2008 г. 14:59 пользователь Gena Makhomed < gmm@xxxxxxxxx> написал:
server {
server_name example.com;
rewrite ^(.*)$ http://www.example.com$1 permanent;
} Виталий
|
|
|