Welcome! Log In Create A New Profile


циклическая переадресация

December 30, 2014 02:05PM
Добрый день! Вот простой конфиг, но почему-то возникает циклическая переадресация, поправьте пожалуйтса

location /roundcube/ {
<------>alias /usr/share/roundcubemail/;
<------>index index.php;
<------>error_page 404 @apache;
location ~ ^/roundcube/(.+\.php)$ {
<------>alias /usr/share/roundcubemail/$1;
<------>fastcgi_pass unix:/var/run/php-fpm.apache.sock;
<------>fastcgi_index index.php;
<------>fastcgi_param SCRIPT_FILENAME $request_filename;
<------>return 301$request_uri;
<------>include fastcgi_params;
<------>error_page 502 = @apache;
<------>error_page 404 = @apache;
location @apache {
<------>error_log off;
<------>proxy_redirect /;
<------>proxy_set_header Host $host;
<------>proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
<------>proxy_set_header X-Forwarded-Proto $scheme;
Subject Author Posted

циклическая переадресация

hitarcher December 30, 2014 02:05PM

Re: циклическая переадресация

hitarcher December 30, 2014 02:10PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

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