fix(caddy): 更新WebDAV配置中的域名和认证信息

更新WebDAV服务的域名从dav.48474.SITE改为dav.48474.site,并修改了basicauth的密码哈希值。同时添加了注释说明密码生成方式。
This commit is contained in:
2025-09-06 01:21:12 +08:00
parent f7b344707f
commit 82fcea4983

View File

@@ -1,14 +1,15 @@
# The Caddyfile is an easy way to configure your Caddy web server. # The Caddyfile is an easy way to configure your Caddy web server.
# basicauth cnphpbb kevin#0412 base64(caddy hash-password --plaintext kevin#0412) $2a$14$eetnnPPil23dVAGUYHzlcOqjq5LrkbPrpjaYRZkdr4QTFkH6hG3Sy
{ {
order webdav before file_server order webdav before file_server
} }
https://dav.48474.SITE:28443 { https://dav.48474.site {
tls 48474@qq.com tls 48474@qq.com
root * /webdav root * /webdav
encode zstd gzip encode zstd gzip
basicauth { basicauth {
cnphpbb $2a$14$hRWtDnqpndGM5W4oMC8Do.H9FS/xydS3Djq8zswNgeVYSDgE1ldqm cnphpbb JDJhJDE0JGVldG5uUFBpbDIzZFZBR1VZSHpsY09xanE1THJrYlBycGphWVJaa2RyNFFURmtINmhHM1N5
} }
route { route {
rewrite /dav /dav/ rewrite /dav /dav/