在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:hacdias/webdav开源软件地址:https://github.com/hacdias/webdav开源编程语言:Go 98.7%开源软件介绍:webdavInstallPlease refer to the Releases page for more information. There, you can either download the binaries or find the Docker commands to install WebDAV. Usage
# Server related settings
address: 0.0.0.0
port: 0
auth: true
tls: false
cert: cert.pem
key: key.pem
prefix: /
debug: false
# Default user settings (will be merged)
scope: .
modify: true
rules: []
# CORS configuration
cors:
enabled: true
credentials: true
allowed_headers:
- Depth
allowed_hosts:
- http://localhost:8080
allowed_methods:
- GET
exposed_headers:
- Content-Length
- Content-Range
users:
- username: admin
password: admin
scope: /a/different/path
- username: encrypted
password: "{bcrypt}$2y$10$zEP6oofmXFeHaeMfBNLnP.DO8m.H.Mwhd24/TOX2MWLxAExXi4qgi"
- username: "{env}ENV_USERNAME"
password: "{env}ENV_PASSWORD"
- username: basic
password: basic
modify: false
rules:
- regex: false
allow: false
path: /some/file
- path: /public/access/
modify: true There are more ways to customize how you run WebDAV through flags and environment variables. Please run SystemdAn example of how to use this with CORSThe
Reverse Proxy ServiceWhen you use a reverse proxy implementation like
LicenseMIT © Henrique Dias |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论