12 lines
210 B
Caddyfile
Raw Permalink Normal View History

2024-10-17 04:54:23 -04:00
xx.com {
log {
level DEBUG
}
root * /var/www
file_server
tls CA.crt priv.key # 换成你的证书和私钥,绝对路径
reverse_proxy /path h2c://127.0.0.1:2001 {
}
}