feat(center/caddy): add WebTransport reverse-proxy passthrough via PR #7669 fork

This commit is contained in:
zetaloop
2026-05-05 10:51:48 +08:00
parent 2a41969771
commit f3b12f30f0
4 changed files with 39 additions and 8 deletions
+21 -6
View File
@@ -1,5 +1,8 @@
{
email admin@juwan.xhttp.zip
servers {
enable_webtransport
}
}
(common_log) {
@@ -53,11 +56,23 @@ s3.juwan.xhttp.zip {
juwan.xhttp.zip {
import common_log
reverse_proxy http://140.82.15.92:30080 {
lb_policy round_robin
health_uri /healthz
health_interval 10s
fail_duration 30s
import stream_proxy
handle /wt/* {
reverse_proxy https://140.82.15.92:8443 {
transport http {
versions 3
tls_insecure_skip_verify
}
}
}
handle {
reverse_proxy http://140.82.15.92:30080 {
lb_policy round_robin
health_uri /healthz
health_interval 10s
fail_duration 30s
import stream_proxy
}
}
}