-
Describe the bug | 问题描述我使用Nginx反向代理给waline进行https加密,绑定到了8366端口,页面访问正常,但是登录/注册等接口fetch to fail,浏览器调试发现访问的接口链接不带端口,控制台打印locaiton.host返回的数据正常,为url+port,但源代码中的serverUrl不带端口 Waline部署方式:Docker-compose Nginx配置
Website URL | 问题网站https://walinetest.raqtpie.xyz:8366 Where your waline deploy? | 服务部署在哪里?Self Host Where your comment data store? | 数据存储在哪里?SQLite Describe the bug | Problem descriptionI used Nginx reverse proxy to encrypt https for waline, and bound it to port 8366. The page access was normal, but the login/registration and other interfaces fetched to fail. The browser debugging found that the accessed interface link did not have a port, and the console printed locaiton.host The returned data is normal and is url+port, but the serverUrl in the source code does not have a port. Waline deployment method: Docker-compose Nginx configuration
Website URL | Problem websitehttps://walinetest.raqtpie.xyz:8366 Where your waline deploy? | Where is the service deployed?Self Host Where your comment data store? | Where is the data stored?SQLite |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
参考这个 issue #2390 自己配下 SERVER_URL 吧 |
Beta Was this translation helpful? Give feedback.
参考这个 issue #2390 自己配下 SERVER_URL 吧