2025-06-04 09:30:44 +08:00

12 lines
206 B
Caddyfile

xx.com {
log {
level DEBUG
}
root * /var/www
file_server
tls CA.crt priv.key # 换成你的证书和私钥,绝对路径
reverse_proxy /path h2c://[::1]:2001 {
}
}