Welcome! Log In Create A New Profile

Advanced

rewrite http to https

vt
July 02, 2011 01:54AM
Привет.

nginx version: nginx/0.8.54

Есть правило:

location ^~ /a
{
rewrite ^(.*) https://host/$1;
}

Проблема:

Иногда редиректит правильно, а иногда на http://host:443/. В таких
случаях имеем 400. Закономерность отловить не удалось. Что за мистика?

--
Regards, Vitaly Tskhovrebov
Senior System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

rewrite http to https

vt July 02, 2011 01:54AM

Re: rewrite http to https

vt July 02, 2011 02:32AM

Re: rewrite http to https

vt July 02, 2011 04:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 115
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready