webdav caddy2 win映射网络驱动器
win7 win10 等启用http的webdav,避免踩坑认证错误
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters]
"BasicAuthLevel"=dword:00000002
service restart webclient
caddy2 + webdav plugin,caddyfile
{
order webdav last
}
http://xxxx:18023 {
webdav {
root c:\swds
}
basicauth {
swds JDJhJDEwJHp4bzc4dDgxSmlXNG03bERsbVRZOC5VUy5lQjljV2xxQzl1SUUxQWVGdWdJcWXXXXXXXXXX
}
}
Caddy生成加密密码
caddy hash-password --plaintext yourpassword