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

https://www.yumenaka.net/2020/05/10/caddy2_with_webdav/

标签: none

添加新评论