Q: Waline 后台无法登录(This request has been blocked; the content must be served over HTTPS.) #2290
-
Describe the bug | 问题描述Waline 后台无法登录,查看控制台: Mixed Content: The page at 'https://waline.yurl.eu.org/ui/login?redirect=/ui' was loaded over HTTPS, but requested an insecure resource 'http://waline.yurl.eu.org/api/token?lang=zh-CN'. This request has been blocked; the content must be served over HTTPS. 外网是这样访问的:用户 -> Argo Tunnel -> 雷池(Nginx) -> Waline Nginx 配置中已经加入了
Website URL | 问题网站https://waline.yurl.eu.org/ui/ Where your waline deploy? | 服务部署在哪里?Other Where your comment data store? | 数据存储在哪里?PostgreSQL |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
这个就是中间链路没有透传 scheme 协议头的原因,看下是不是 This is the reason why the intermediate link does not transparently transmit the scheme protocol header. Check to see if the |
Beta Was this translation helpful? Give feedback.
-
但是 argo 这里是会保持连接协议的,所以我想着试试直接改后台(---- 回复的原邮件 ----发件人Austin ***@***.***>发送日期2024年1月29日 ***@***.***>***@***.***>***@***.***>主题Re: [walinejs/waline] Q: Waline 后台无法登录(This request has been blocked; the content must be served over HTTPS.) (Discussion #2290)后台的 protocol 是服务端识别请求页面透传过来的 $scheme 决定的—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
SERVER_URL
可以通过这个环境变量设置 https://github.com/walinejs/waline/blob/main/packages/server/src/config/extend.js#L15SERVER_URL
can be set through this environment variable https://github.com/walinejs/waline/blob/main/packages/server/src/config/extend.js#L15