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

18 lines
402 B
Caddyfile
Raw Permalink Normal View History

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