圆形立方体oauth身份验证重定向404 nginx错误

问题描述 投票:0回答:1

当 roundcube 从 oauth 服务重定向时,nginx 会抛出 404 not found。我已将 oauth 提供程序启用为通用并设置其他必填字段。另外,nginx 日志显示“/var/www/html/index.php/login/oauth”未找到此文件/文件夹。

我尝试编辑 nginx 配置,但没有成功,问题仍然存在..404 Nginx

email roundcube
1个回答
0
投票

将以下块添加到您的 nginx 配置中:

location /index.php/login/oauth {
            rewrite ^/index\.php/login/oauth$ /program/actions/login/oauth.php last;
   }
© www.soinside.com 2019 - 2024. All rights reserved.