mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-04-05 03:19:28 +08:00
Update Caddyfile
This commit is contained in:
parent
8bba5965a5
commit
3bee2d6cb0
@ -1,4 +1,9 @@
|
|||||||
example.com {
|
example.com {
|
||||||
|
tls {
|
||||||
|
dns cloudflare cf_api_token #根据情况自己修改,这里用的是cloudflare的API,需要github.com/caddy-dns/cloudflare插件
|
||||||
|
resolvers 1.1.1.1
|
||||||
|
}
|
||||||
|
|
||||||
file_server * {
|
file_server * {
|
||||||
root /var/www/html
|
root /var/www/html
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user