Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 允许ipv4下载测试链接以指定域名进行显示 #77

Open
zbttl opened this issue Dec 1, 2024 · 0 comments
Open

[BUG] 允许ipv4下载测试链接以指定域名进行显示 #77

zbttl opened this issue Dec 1, 2024 · 0 comments

Comments

@zbttl
Copy link

zbttl commented Dec 1, 2024

BUG 简短描述

环境

操作系统 & Docker 版本 (lsb_release -a && docker version):
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster

Server: Docker Engine - Community
Engine:
Version: 26.1.4

使用的镜像版本 (docker ps | grep als):
8d53f81f5099 wikihostinc/looking-glass-server

现象

使用caddy反代并通过https加密后,页面里的ipv4下载测试连接仍为服务器ip,caddy无法做后续处理。
caddy配置:

:443, xxxx.com #你的域名 {
  tls  /etc/ssl/ssl.crt /etc/ssl/ssl.key
    route /lg/* {
    uri strip_prefix /lg
    # Set the port to the one you are using in lg
    reverse_proxy localhost:8800
  }
  redir /lg /lg/
}

建议自动识别或者增加url参数,允许页面中的ipv4下载测试连接以特定域名进行显示。

@zbttl zbttl changed the title [BUG] BUG 标题 [BUG] 允许ipv4下载测试链接以指定域名进行显示 Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant