外观
Docker安装webdav
映射配置文件
# 监听任意网卡,多网卡可指定对应ip
address: 0.0.0.0
port: 80
auth: true
prefix: /
modify: true
rules: []
# 跨域设置
cors:
enabled: true
credentials: true
allowed_headers:
- Depth
allowed_hosts:
- http://localhost:80
allowed_methods:
- GET
exposed_headers:
- Content-Length
- Content-Range
# 用户信息,如果 auth 为 true 生效
users:
- username: admin
password: 123456
# 配置自己的 webdav 访问范围,此例为 /data 内所有文件
scope: /data使用webdav时注意在地址后需要加上/Webdav
