heroweb/webdavserver/wsgidav.yaml

37 lines
720 B
YAML
Raw Normal View History

2024-10-31 06:24:12 +00:00
server: cheroot
host: 0.0.0.0
port: 3333
verbose: 3
provider_mapping:
"/":
root: "/tmp/webdav"
dir_browser:
enable: true
icon: true
response_handler: true
http_authenticator:
domain_controller: null # Same as wsgidav.dc.simple_dc.SimpleDomainController
accept_basic: true # Pass false to prevent sending clear text passwords
accept_digest: true
default_to_digest: true
simple_dc:
user_mapping:
"*":
"admin":
password: "1234"
"user2":
password: "qwerty"
"/pub": true
cors:
allow_origin: '*'
allow_methods: '*'
allow_headers: '*'
expose_headers: '*'
allow_credentials: true
max_age: 600