vanblog icon indicating copy to clipboard operation
vanblog copied to clipboard

[问题反馈]: 评论异常使用了localhost作为域名

Open Dev-Umb opened this issue 1 year ago • 3 comments

问题描述 | Describe the bug

在尝试登录waline进行评论或登录waline进行评论管理时,会自动定向到localhost,而非已指定域名 登录使用github登录时: image 问题猜测: 猜测应该与nginx反代有关,服务器使用nginx反代443到localhost:79,且尝试修改为0.0.0.0后,异常网址也被定向到了0.0.0.0,nginx配置如下: image

复现网址 | Website URL

https://umb.ink/

版本 | Version

v0.54.0

部署方式? | How do you deploy vanblog?

Docker 部署(文档默认)

Dev-Umb avatar Jan 13 '24 13:01 Dev-Umb

同问

ywg2244 avatar Mar 23 '24 03:03 ywg2244

可以尝试加入

proxy_set_header Host $host;

CornWorld avatar Mar 30 '24 13:03 CornWorld

可以尝试加入

proxy_set_header Host $host;

本方法在群友尝试后有效

CornWorld avatar Apr 03 '24 11:04 CornWorld