-
Notifications
You must be signed in to change notification settings - Fork 2
/
config
84 lines (56 loc) · 2.32 KB
/
config
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# How your server should identify itself. Use your domain name here.
SERVER_NAME="example.com"
# Port to bind the server to.
PORT="443"
# Base directory where the WebDAV files are stored.
WEBDAV_BASE="/webdav"
# Path to folder that holds all your files, relative to WEBDAV_BASE.
WEBDAV_DATA="data"
# Path to a folder that's publicly available. Omit to disable.
WEBDAV_PUBLIC="public"
# Special user that has full access to all folders. Omit to disable.
WEBDAV_SUPERUSER="admin"
# Special user that has read access to all folders. Omit to disable.
WEBDAV_RO_USER="reader"
# Path to your htpasswd-based users file.
WEBDAV_USERS="/run/secrets/users"
# Path to the SSL certificate file.
WEBDAV_SSL_CERT="/run/secrets/fullchain"
# Path to the SSL certificate private key file.
WEBDAV_SSL_CERT_KEY="/run/secrets/privkey"
# These parameters are optional.
# User ID to run the server as. Should match the user owning $WEBDAV_DATA.
#WEBDAV_USER_ID="1000"
# Group ID to run the server as.
#WEBDAV_GROUP_ID="1000"
# Path to the WebDAV config file.
#WEBDAV_CONFIG="$HTTPD_PREFIX/conf/webdav.conf"
# Path to the generated users config file.
#WEBDAV_USERS_CONFIG="$HTTPD_PREFIX/conf/webdav_users.conf"
# Path the WebDAV lock file.
#WEBDAV_LOCKFILE="/etc/lock/lockfile"
# Folder and user to use for Radicale. Omit to disable Radicale.
WEBDAV_RADICALE="radicale"
# Folder to use for Radicale storage.
WEBDAV_RADICALE_STORAGE="radicale_data"
# Only user that can access Radicale data. Omit to give all valid users access.
WEBDAV_RADICALE_USER="radicale"
# FLAG parameters can have any value. Unset them to disable.
# Log all requests to STDOUT.
WEBDAV_FLAG_VERBOSE=1
# Enable CORS flags. Required for browser-based WebDAV clients.
WEBDAV_FLAG_CORS=1
# Enable HTTP/2 support.
WEBDAV_FLAG_HTTP2=1
# Enable HTTP Strict Transport Security (HSTS).
# https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Strict_Transport_Security_Cheat_Sheet.html
WEBDAV_FLAG_HSTS=1
# Enable .well-known support for CalDAV and CardDAV.
WEBDAV_FLAG_RADICALE_WELLKNOWN=1
# Enable web interface of Radicale.
#WEBDAV_FLAG_RADICALE_WEB=1
# Enable the following two with care, they may break some clients.
# Prefer HTTP/2 instead of using the protocol most preferred by the client.
#WEBDAV_FLAG_PREFER_HTTP2=1
# Configure SSL to only support clients that support TLS 1.3.
#WEBDAV_FLAG_MODERN_SSL=1