add ech0 service

This commit is contained in:
2026-03-05 14:10:47 +00:00
parent 9c1a858410
commit 8d5a02c93a
4 changed files with 64 additions and 0 deletions

View File

@@ -39,3 +39,6 @@ TEXTAREA_DOMAIN=
############# Gopkg Proxy #############
GOPKG_PROXY_DOMAIN=
############# Ech0 #############
ECH0_DOMAIN=

View File

@@ -148,4 +148,24 @@
reverse_proxy http://gopkg_proxy:8421
}
############## ech0 ##############
{$ECH0_DOMAIN} {
header -Server
request_body {
max_size 5MB
}
reverse_proxy http://ech0:8421 {
# wheader_up -X-Forwarded-For
header_up -X-Forwarded-Host
header_up -X-Forwarded-Proto
header_up -Via
transport http {
compression off
}
}
}
import Caddyfile.private