Welcome! Log In Create A New Profile

Advanced

$scheme

January 26, 2011 10:23PM
Всем привет!
Настраиваю автоматический редирект на https. При вот таком варианте
[code]
if ($scheme = 'http')
{
rewrite ^(.*)$ https://xxxxxxx.ru$1 permanent;
}
[/code]
редирект идет постоянно, как для обращений по http, так и для https... В чем фишка?
Subject Author Posted

$scheme

User January 26, 2011 10:23PM

Re: $scheme

Vladimir Rusinov January 27, 2011 12:52AM

Re: $scheme

User January 27, 2011 03:21AM

Re: $scheme

User January 27, 2011 09:04PM

Re: $scheme

User January 28, 2011 05:16AM

Re: $scheme

Slava Kokorin January 27, 2011 03:40AM

Re: $scheme

Slava Kokorin January 27, 2011 03:44AM

Re: $scheme

Vladimir Rusinov January 27, 2011 04:30AM

Re: $scheme

Vladimir Rusinov January 28, 2011 04:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 67
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready