Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ошибка. Цикл при обращении к именованой локации "rewrite or internal redirection cycle while redirect to named location"
- To: nginx-ru@xxxxxxxxx
- Subject: Ошибка. Цикл при обращении к именованой локации "rewrite or internal redirection cycle while redirect to named location"
- From: "euxomen" <nginx-forum@xxxxxxxx>
- Date: Wed, 12 Mar 2014 06:18:53 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=selenium.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=DUWQ4kL0lI8+ewYJClD4OxMtHagPIGhDRWW9Fjc/cas=; b=qyqQLecK/9Xf7E0DxWR1/9iaQh73hU0YlPHZBEaus6ItKz7N4k9TrMr/maYGIo8i42/Kc+AhnHMCc+KxlNHI9Tspfj9eWNNyDc3mY6Rmx9HTkC+HOSNJNubpdU7SFH5THiJT96prn3NhH4ypV3kmOAHNMduGk2Z07fGHpa9Pe30=;
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) этот конфиг работает нормально. Не пойму в чем ошибка?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,248295,248295#msg-248295
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|