Welcome! Log In Create A New Profile

Advanced

Re: nginx redirect

April 07, 2011 12:30AM
Имею следующее
location = /index.html {
rewrite ^ http://адрес/ permanent;
}

location / {
root /usr/local/www/nginx;
index index.html;
}

При открытии и index.html и / имею:
Firefox определил, что сервер перенаправляет запрос на этот адрес таким образом, что он никогда не завершится.
Если делаю редирект на неиндексную страницу проблемы не возникает.
Subject Author Posted

nginx redirect

neon_cyrex April 06, 2011 02:05PM

Re: nginx redirect

Sergey Shepelev April 06, 2011 02:20PM

Re: nginx redirect

neon_cyrex April 07, 2011 12:30AM

Re: nginx redirect

Igor Sysoev April 07, 2011 12:38AM

Re: nginx redirect

neon_cyrex April 11, 2011 02:59PM

Re: nginx redirect

Igor Sysoev April 11, 2011 03:06PM

Re: nginx redirect

neon_cyrex April 22, 2011 12:46AM

Re: nginx redirect

neon_cyrex April 25, 2011 12:01PM

Re: nginx redirect

Alexander Kochetov April 22, 2011 01:06AM

Re: nginx redirect

neon_cyrex April 26, 2011 05:27AM

Re: nginx redirect

Vladimir Sopot February 25, 2015 08:54AM

Re: Re: nginx redirect

Styopa Semenukha February 25, 2015 11:18AM



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