{ auto_https disable_redirects servers { protocols h1 h2 } } # 这是你原本对外暴露的 TCP 443 端口 celllab.xiongshu.uk:443 { root * /var/www/html file_server header Server "Caddy" handle_errors { respond "{err.status_code} - Endpoint not found or Access Denied." } tls /etc/hysteria/server.crt /etc/hysteria/server.key } # --- 新增:给 Hy2 准备的内部暗门 --- http://127.0.0.1:45678 { # 绑定和上面完全一样的网站目录和规则 root * /var/www/html file_server header Server "Caddy" handle_errors { respond "{err.status_code} - Endpoint not found or Access Denied." } } shuxiong@server:~$ cat /var/www/html/index.html
System Status: ONLINE | Node Location: Test Rack 04 | Sync Mode: High-Frequency UDP/QUIC Telemetry