-
Notifications
You must be signed in to change notification settings - Fork 3
/
wsgidav.yaml
66 lines (55 loc) · 1.97 KB
/
wsgidav.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# wsgidav -r tests/fixtures/htdocs --host 127.0.0.1 --port 8082 --auth anonymous
# See http://wsgidav.readthedocs.io/en/latest/user_guide_configure.html
server: "cheroot"
host: 127.0.0.1
port: 8082
provider_mapping:
"/": "tests/fixtures/htdocs"
"/private": "tests/fixtures/htdocs/private"
# ==============================================================================
# AUTHENTICATION
http_authenticator:
accept_basic: true
accept_digest: false
default_to_digest: false
trusted_auth_header: null
domain_controller: null
# Additional options for SimpleDomainController only:
simple_dc:
# Access control per share.
# These routes must match the provider mapping.
# NOTE: Provider routes without a matching entry here, are inaccessible.
user_mapping:
"*": true # default (used for all shares that are not explicitly listed)
"/private":
"User_1":
password: "secret"
"User_2":
password: "guessme"
# ==============================================================================
# DEBUGGING
#: Set verbosity level (but will be overridden by -v or -q arguments)
verbose: 3
logging:
#: Set logging output format
#: (see https://docs.python.org/3/library/logging.html#logging.Formatter)
logger_format: "%(asctime)s.%(msecs)03d - %(levelname)-8s: %(message)s"
# logger_format: "%(asctime)s.%(msecs)03d - <%(thread)05d> %(name)-27s %(levelname)-8s: %(message)s"
#logger_format: "%(asctime)s.%(msecs)03d - %(levelname)-8s: %(message)s"
logger_date_format: "%H:%M:%S"
dir_browser:
enable: true
ignore:
- ".DS_Store" # macOS folder meta data
- "Thumbs.db" # Windows image previews
- "._*" # macOS hidden data files
icon: true
response_trailer: true
show_user: true
show_logout: true
davmount: false
ms_sharepoint_support: true
property_manager: true
mutable_live_props:
- "{DAV:}getlastmodified"
lock_storage: true