Skip to content

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

@zbttl

Description

@zbttl

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下载测试连接以特定域名进行显示。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions