Welcome! Log In Create A New Profile

Advanced

Ошибка. Цикл при обращении к именованой локации "rewrite or internal redirection cycle while redirect to named location"

March 12, 2014 06:18AM
OS: FreeBSD 9
Nginx: 1.4.4
Конфигурация сервера:

server {
listen 80;
root /www/domain;
access_log /var/log/access.log;
error_log /var/log/error.log;
index index.php;

server_name my.domain.ru;

location / {
try_files $uri @front;
}

location @front {
client_body_in_file_only clean;
client_body_buffer_size 128K;
client_max_body_size 120M;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
fastcgi_param SCRIPT_NAME /index.php;
}
}

Почему то происходит зацикливание. На другой машине (под убунту и нгинкс 1.4.1) этот конфиг работает нормально. Не пойму в чем ошибка?
Subject Author Posted

Ошибка. Цикл при обращении к именованой локации "rewrite or internal redirection cycle while redirect to named location"

euxomen March 12, 2014 06:18AM

Re: Ошибка. Цикл при обращении к именованой локации "rewrite or internal redirection cycle while redirect to named location"

Maxim Dounin March 12, 2014 07:34AM

Re: Ошибка. Цикл при обращении к именованой локации "rewrite or internal redirection cycle while redirect to named location"

euxomen March 12, 2014 09:31AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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