Open New2Niu opened 1 year ago
The proxy
handler in caddy-l4 is a completely separate piece of code from vanilla Caddy's reverse_proxy
. So no, it's not supported right now. But it probably could be. PRs welcome.
The
proxy
handler in caddy-l4 is a completely separate piece of code from vanilla Caddy'sreverse_proxy
. So no, it's not supported right now. But it probably could be. PRs welcome.
nice
{ "apps": {
"layer4": {
"servers": {
"example": {
"listen": [":443"],
"routes": [{
"match": [{
"tls": {
"sni": ["*.google.com.hk"]
}
}],
"handle": [{
"handler": "proxy",
"dynamic_upstreams": {
"dial_timeout": 10000000000,
"name": "{sni}",
"port": "443",
"source": "a"
}
}]
}]
}
}
}
}
}
when i config wildcard tls sni, handler can support dynamic_upstreams?