Update Caddyfile

This commit is contained in:
winds365 2025-03-10 00:58:54 +08:00 committed by GitHub
parent 8bba5965a5
commit 3bee2d6cb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,9 @@
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
}