Xray-examples/VLESS-XHTTP3-Nginx/Caddyfile

15 lines
303 B
Caddyfile
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

example.com {
tls {
dns cloudflare cf_api_token #根据情况自己修改这里用的是cloudflare的API需要github.com/caddy-dns/cloudflare插件
resolvers 1.1.1.1
}
file_server * {
root /var/www/html
}
reverse_proxy /path/* unix+h2c//dev/shm/xrxh.socket {
flush_interval -1
}
}