切换到 Nginx 后,用户无法登录或注册。管理员和普通用户都无法登录,尝试创建新帐户时会显示消息:“我们无法检测您的帐户是否已创建,请确保您已启用 cookie”。这种情况仅在我将 Discourse 置于 Nginx 之后才开始发生,所以我怀疑我的代理配置(可能是标头或 HTTPS 处理)中存在错误。任何关于具体需要修复什么的指导都将不胜感激。我当前的配置文件(/etc/nginx/sites-enabled/default)
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Discouse with NginX reverse proxy - Cannot log in | 3 | 935 | 2026 年1 月 21 日 | |
| Login (SSO enabled) is not working when Nginx is configured in front Discourse | 0 | 655 | 2020 年12 月 15 日 | |
| Error "We cannot detect if your account was created, please ensure you have cookies enabled" | 5 | 1090 | 2020 年2 月 11 日 | |
| Authentication not working after a recent update | 3 | 1909 | 2016 年10 月 26 日 | |
| Problem Responding a Topic | 2 | 336 | 2024 年3 月 9 日 |
