Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
$scheme
- To: nginx-ru@xxxxxxxxx
- Subject: $scheme
- From: "User" <nginx-forum@xxxxxxxx>
- Date: Wed, 26 Jan 2011 22:23:08 -0500
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=f6tctedU2DNoTlfH9JEb37PL20XfmrsiLcadfsLI8+k=; b=inUu2xUbfUxk8e2K/cFcR6JqFghp2WDxUQJ7a67gv75rfgIooBa/QhOKTRwfkPNL77oheSv3Ho7f1LdgczKG/jJbUNqcYkWFjTlFsY7fQK864+F7g4+Wbs24s3Leger/;
Всем привет!
Настраиваю автоматический редирект на
https. При вот таком варианте
[code]
if ($scheme = 'http')
{
rewrite ^(.*)$ https://xxxxxxx.ru$1 permanent;
}
[/code]
редирект идет постоянно, как для
обращений по http, так и для https... В чем
фишка?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,169949,169949#msg-169949
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|