From 562f16732a44cf959b9c918b0acd2d7535c81a8d Mon Sep 17 00:00:00 2001 From: Yin Kou Date: Fri, 6 Nov 2026 22:56:17 +0800 Subject: [PATCH] fix(gateway): fix Caddy v2.7 basicauth on Azure and add LAN split-DNS for *.home.961504.xyz --- configs/router-shellcrash-config.yaml | 2 ++ stacks/azure-edge/Caddyfile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/router-shellcrash-config.yaml b/configs/router-shellcrash-config.yaml index d0c02b4..8acb3a2 100644 --- a/configs/router-shellcrash-config.yaml +++ b/configs/router-shellcrash-config.yaml @@ -164,6 +164,8 @@ rule-providers: rules: - DOMAIN-SUFFIX,home.961504.xyz,全球直连 + - DOMAIN-SUFFIX,961504.xyz,全球直连 + - IP-CIDR,104.43.105.243/32,全球直连,no-resolve - DOMAIN-SUFFIX,tailscale.com,全球直连 - DOMAIN-SUFFIX,tailscale.io,全球直连 - DOMAIN-SUFFIX,ts.net,全球直连 diff --git a/stacks/azure-edge/Caddyfile b/stacks/azure-edge/Caddyfile index e537b29..127416b 100644 --- a/stacks/azure-edge/Caddyfile +++ b/stacks/azure-edge/Caddyfile @@ -25,7 +25,7 @@ wx.961504.xyz:443 { # 4. AGY 24小时云端 Web 工作台 (443 免端口访问) -> https://agy.961504.xyz agy.961504.xyz:443 { encode zstd gzip - basic_auth { + basicauth /* { ixvii0iv $2a$14$VaaNvgIjsCJFzXCpIxjcOerKUIdkN7GhVWAlGh3/ZZjBOADY9lg.. } reverse_proxy 100.108.205.40:7681