Welcome! Log In Create A New Profile

Advanced

$scheme ~* "htt(p|ps)"

May 27, 2013 10:48AM
Доброго времени. Может кто подсказать почему вот такая конструкция не
работает?
server {
server_name my.site.com;
listen 80;
listen 443;
if ($scheme ~* "htt(p|ps)" ) {
return 301 https://my.site.com/manager;
}
Фактически я хочу сделать перенаправление всего на
https://my.site.com/manager .
С http работает нормально, а вот с https никак, постоянно уходит в
циклическую переадресацию.
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

$scheme ~* "htt(p|ps)"

zysyl May 27, 2013 10:48AM

Re: $scheme ~* "htt(p|ps)"

Дмитрий Лялюев May 27, 2013 10:58AM

Re: $scheme ~* "htt(p|ps)"

zysyl May 27, 2013 11:02AM

Re: $scheme ~* "htt(p|ps)"

mente May 27, 2013 11:06AM

Re: $scheme ~* "htt(p|ps)"

zysyl May 27, 2013 11:14AM

Re: $scheme ~* "htt(p|ps)"

mente May 27, 2013 11:16AM

Re: $scheme ~* "htt(p|ps)"

zysyl May 27, 2013 11:30AM

Re: $scheme ~* "htt(p|ps)"

zysyl May 27, 2013 11:46AM

Re: $scheme ~* "htt(p|ps)"

Maxim Dounin May 27, 2013 12:08PM

Re: $scheme ~* "htt(p|ps)"

Anton Yuzhaninov May 27, 2013 11:08AM

Re: $scheme ~* "htt(p|ps)"

Daniil May 27, 2013 11:18AM

Re: $scheme ~* "htt(p|ps)"

zysyl May 27, 2013 11:42AM

Re: $scheme ~* "htt(p|ps)"

Daniil May 27, 2013 12:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 157
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