Xray-examples/VLESS-HTTP-Caddy/VLESS-H2C-Caddy/Caddyfile

15 lines
264 B
Caddyfile
Raw Normal View History

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