一般通过 caddy
<domain> {
tls <your email>
reverse_proxy <ip:port>
}
负载均衡
<domain> {
tls <your email>
reverse_proxy {
to <ip1:port1> <ip2:port2> ... ...
}
}
Cloudflare DNS
<domain> {
tls { dns <provider> ... }
reverse_proxy <ip:port>
}
其中 provider 是 cludflare 就填写为
dns cloudflare ... ...