禅道安装
2710

使用nginx配置禅道安装完成后进入index.php页面提示页面存在重定向循环已解决悬赏5积分

提问者李图答案数1阅读数15912发表时间2015-03-09 23:14:12

使用nginx配置禅道安装完成后进入index.php跳转至xxxx:8666/user-login-L2luZGV4Lmh0bWw=.html提示页面存在重定向循环

以下是nginx配置文件

server {

listen 8666;
set $root_dir /home/work/zentaopms/www;


location = / {
root $root_dir;
rewrite ^/(.*) /index.php last;
}

location / {
root $root_dir;
if (-d $request_filename) {
return 403;
}
if (!-e $request_filename) {
rewrite ^/(.*) /index.php last;
}
}

location ~* \.php$ {
root $root_dir;
fastcgi_pass 127.0.0.1:11000;

fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_script_name;
include fastcgi_params;

fastcgi_connect_timeout 30s;
fastcgi_send_timeout 30s;
fastcgi_read_timeout 300s;
}

location ~* ^/protected {
return 403;
}

}

禅道版本:7.0.stable

安装包类型:源码包

操作系统:CentOS

客户端浏览器:Chrome

设置备注
内容
答案列表
🍟
2015-03-10 14:40:53

config/my.php 中将requestType => GET

你的url重写规则有问题。

🍖
肖国煌2017/10/18
你好 nginx禅道是要如何配置
回复
联系我们
联系人
金娟/高级客户经理
电话(微信)
18562856230
QQ号码
1826606239
联系邮箱
jinjuan@chandao.com
其他相关问答
提问者: colin5210 于 2017-09-081433次浏览,1个答案
提问者: qq_55190501f2eec 于 2015-03-302276次浏览,1个答案
37871
已解决
悬赏5积分
提问者: xxj1214 于 2021-01-062062次浏览,1个答案
394
已解决
悬赏10积分
提问者: xiaolvtomi 于 2011-07-213495次浏览,2个答案
提问者: jackllove 于 2016-11-251596次浏览,1个答案
返回顶部
客服头像
金娟
高级客户经理
客服微信
18562856230
1826606239
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。问题反馈反馈点击这里,让我们聆听您的建议与反馈。