2 # You find additional information on Radicale Homepage
5 # OpenWrt's wiki needs to be setup/updated ;-)
7 # if setting additional options please remember that UCI does not support
8 # section names and option names with "-" (Dash) inside their name
9 # to use them anyway replace "-" with "_" (Underscore)
10 # Each Radicale's config [section] is setup as UCI config setting 'section'
13 ####################################################
14 # OpenWrt specific settings
15 # not part of radicale package
17 config system 'radicale'
18 # delayed startup at boot (default 10 seconds)
19 # to wait for netifd to bring up interfaces
20 # during this time iface hotplug events are ignored
21 # option boot_delay '10'
23 ####################################################
26 config setting 'server'
29 # IPv4 syntax: address:port
30 # IPv6 syntax: [address]:port
32 # only use ports > 1024 (non-privileged Ports)
33 # because this implementation is running as non-root user
34 # Default: 0.0.0.0:5232
35 # list hosts '0.0.0.0:5232'
36 # list hosts 'localhost:5232'
38 # SSL flag, enable HTTPS protocol
39 # Default: 0 (disabled)
42 # SSL Protocol used. See python's ssl module for available values
43 # Default: PROTOCOL_SSLv23
44 # option protocol 'PROTOCOL_SSLv23'
46 # Ciphers available. See python's ssl module for available ciphers
49 # SSL certificate path and file
50 # option certificate '/etc/radicale/ssl/server.crt'
52 # SSL private key path and file
53 # option key '/etc/radicale/ssl/server.key'
55 # Reverse DNS to resolve client address in logs
56 # Default: 0 (disabled)
57 # option dns_lookup '1'
59 # Message displayed in the client when a password is needed
60 # option realm 'Radicale - Password Required'
63 ####################################################
66 config setting 'encoding'
68 # Encoding for responding requests
69 # option request 'utf-8'
71 # Encoding for storing local collections
72 # option stock 'utf-8'
75 ####################################################
76 # Authentication options
80 # Authentication method
81 # Value: None | htpasswd | IMAP | LDAP | PAM | courier | http | remote_user | custom
83 # if setting 'htpasswd' the file /etc/radicale/users is used (hardcoded)
85 # Htpasswd encryption method
86 # Value: plain | sha1 | ssha | crypt
87 # option htpasswd_encryption 'crypt'
89 # for other authenication methods consult Radicale documentation
90 # and set options here
93 ####################################################
99 # option committer 'Radicale <radicale@example.com>'
102 ####################################################
105 config setting 'rights'
107 # Value: None | authenticated | owner_only | owner_write | from_file | custom
109 # if setting 'from_file' the file /etc/radicale/rights is used (hardcoded)
111 # Custom rights handler
112 # option custom_handler ''
115 ####################################################
118 # WARNING: ONLY "filesystem" IS DOCUMENTED AND TESTED,
119 # OTHER BACKENDS ARE NOT READY FOR PRODUCTION.
122 config setting 'storage'
123 # Value: filesystem | multifilesystem | database | custom
124 option type 'filesystem'
125 option filesystem_folder '/srv/radicale'
128 ####################################################
129 # Additional HTTP headers
131 config setting 'headers'
132 # enable all if using CardDavMATE-, CalDavZAP- or InfCloud- WEBclient
133 # list Access_Control_Allow_Origin '*'
134 # list Access_Control_Allow_Methods 'GET'
135 # list Access_Control_Allow_Methods 'POST'
136 # list Access_Control_Allow_Methods 'OPTIONS'
137 # list Access_Control_Allow_Methods 'PROPFIND'
138 # list Access_Control_Allow_Methods 'PROPPATCH'
139 # list Access_Control_Allow_Methods 'REPORT'
140 # list Access_Control_Allow_Methods 'PUT'
141 # list Access_Control_Allow_Methods 'MOVE'
142 # list Access_Control_Allow_Methods 'DELETE'
143 # list Access_Control_Allow_Methods 'LOCK'
144 # list Access_Control_Allow_Methods 'UNLOCK'
145 # list Access_Control_Allow_Headers 'User-Agent'
146 # list Access_Control_Allow_Headers 'Authorization'
147 # list Access_Control_Allow_Headers 'Content-type'
148 # list Access_Control_Allow_Headers 'Depth'
149 # list Access_Control_Allow_Headers 'If-match'
150 # list Access_Control_Allow_Headers 'If-None-Match'
151 # list Access_Control_Allow_Headers 'Lock-Token'
152 # list Access_Control_Allow_Headers 'Timeout'
153 # list Access_Control_Allow_Headers 'Destination'
154 # list Access_Control_Allow_Headers 'Overwrite'
155 # list Access_Control_Allow_Headers 'X-client'
156 # list Access_Control_Allow_Headers 'X-Requested-With'
157 # list Access_Control_Expose_Headers 'Etag'
160 ####################################################
161 # Global logging options
163 config setting 'logging'
165 # Set the default logging level to debug for all outputs (ignore output level settings)
166 # Default: 0 (disabled)
168 # Log all environment variables (including those set in the shell) when starting
169 # Default: 0 (disabled)
170 # option full_environment '1'
173 ####################################################
174 # Spezial logging options
175 # !!! not documented in Radicale documentation
176 # !!! special settings for this implementation
178 config logging 'logger'
180 # Level: DEBUG | INFO | WARNING | ERROR | CRITICAL
181 # To nearly disable logging set level to critical
183 # log level on console
184 # option console_level 'ERROR'
186 # Here we use Rotating Logfiles in this implementation
187 # !!! if maxbytes and/or backupcount is set to 0 !!!
188 # !!! file rotation is disabled and logfile grows endless !!!
190 # option file_level 'INFO'
191 # directory where log files are written
192 # option file_path '/var/log/radicale'
193 # max size of each logfile (see warning above)
194 # option file_maxbytes '8196'
195 # number of backup files to create (see warning above)
196 # option file_backupcount '1'
198 # log level for syslog logging
199 # option syslog_level 'WARNING'