-
-
Notifications
You must be signed in to change notification settings - Fork 168
Expand file tree
/
Copy pathsample_wsgidav.json
More file actions
52 lines (52 loc) · 1.38 KB
/
sample_wsgidav.json
File metadata and controls
52 lines (52 loc) · 1.38 KB
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
/* Sample WsgiDAV configuration file
*
* 1. Rename this file to `wsgidav.json`
* 2. Adjust settings as appropriate
* 3. Run `wsgidav` from the same directory or pass file name with `--config` option.
*
* JSON formatted (JavaScript-style comments are allowed).
*
* NOTE: the recommended configuration file format is YAML!
*
* See http://wsgidav.readthedocs.io/en/latest/user_guide_configure.html
*/
{
"host": "0.0.0.0",
"port": 8080,
// Verbosity 0..5
"verbose": 3,
"provider_mapping": {
"/share1": "/path/to/share1",
"/share2": "/path/to/share2"
},
"http_authenticator": {
"domain_controller": null, // Use simple_dc
"accept_basic": false, // Force digest authentication
"accept_digest": true,
"default_to_digest": true,
"trusted_auth_header": null
},
"simple_dc": {
"user_mapping": {
"*": {
"user1": {
"password": "abc123"
}
},
"/share2": true // Allow anonymous access
}
},
"dir_browser": {
"enable": true,
"response_trailer": "",
"davmount": true,
"davmount_links": false,
"ms_sharepoint_support": true,
"htdocs_path": null
},
"dav_explorer": {
"enable": true,
"response_trailer": "",
"htdocs_path": null
}
}