2011-05-07 12:52:54 +02:00
|
|
|
# -*- mode: conf -*-
|
|
|
|
# vim:ft=cfg
|
|
|
|
|
2010-08-04 01:27:40 +02:00
|
|
|
# Config file for Radicale - A simple calendar server
|
2010-08-04 00:08:08 +02:00
|
|
|
#
|
2013-08-27 10:55:30 +02:00
|
|
|
# Place it into /etc/radicale/config (global)
|
2010-08-04 00:08:08 +02:00
|
|
|
# or ~/.config/radicale/config (user)
|
|
|
|
#
|
|
|
|
# The current values are the default ones
|
|
|
|
|
2011-05-07 12:52:54 +02:00
|
|
|
|
2010-08-04 00:08:08 +02:00
|
|
|
[server]
|
2014-10-22 14:33:29 +02:00
|
|
|
|
2011-04-02 21:45:45 +02:00
|
|
|
# CalDAV server hostnames separated by a comma
|
2011-04-02 21:49:48 +02:00
|
|
|
# IPv4 syntax: address:port
|
|
|
|
# IPv6 syntax: [address]:port
|
2013-12-13 14:56:03 +01:00
|
|
|
# For example: 0.0.0.0:9999, [::]:9999
|
2017-03-04 14:06:09 +01:00
|
|
|
#hosts = 127.0.0.1:5232
|
2014-10-22 14:33:29 +02:00
|
|
|
|
2016-06-10 14:36:44 +02:00
|
|
|
# Max parallel connections
|
2018-08-28 16:19:48 +02:00
|
|
|
#max_connections = 8
|
2016-06-10 14:36:44 +02:00
|
|
|
|
2016-06-10 14:34:52 +02:00
|
|
|
# Max size of request body (bytes)
|
2018-04-29 21:20:23 +02:00
|
|
|
#max_content_length = 100000000
|
2016-06-10 14:34:52 +02:00
|
|
|
|
2016-06-10 14:33:25 +02:00
|
|
|
# Socket timeout (seconds)
|
2018-04-29 21:20:23 +02:00
|
|
|
#timeout = 30
|
2016-06-10 14:33:25 +02:00
|
|
|
|
2010-08-04 00:08:08 +02:00
|
|
|
# SSL flag, enable HTTPS protocol
|
2014-10-22 14:33:29 +02:00
|
|
|
#ssl = False
|
|
|
|
|
2011-04-25 16:47:42 +02:00
|
|
|
# SSL certificate path
|
2017-03-04 14:06:09 +01:00
|
|
|
#certificate = /etc/ssl/radicale.cert.pem
|
2014-10-22 14:33:29 +02:00
|
|
|
|
2011-04-25 16:47:42 +02:00
|
|
|
# SSL private key
|
2017-03-04 14:06:09 +01:00
|
|
|
#key = /etc/ssl/radicale.key.pem
|
2014-10-22 14:33:29 +02:00
|
|
|
|
2017-06-02 12:41:03 +02:00
|
|
|
# CA certificate for validating clients. This can be used to secure
|
|
|
|
# TCP traffic between Radicale and a reverse proxy
|
|
|
|
#certificate_authority =
|
|
|
|
|
2013-12-13 14:31:09 +01:00
|
|
|
# SSL Protocol used. See python's ssl module for available values
|
2017-03-04 14:06:09 +01:00
|
|
|
#protocol = PROTOCOL_TLSv1_2
|
2014-10-22 14:33:29 +02:00
|
|
|
|
2016-10-12 14:30:18 +02:00
|
|
|
# Available ciphers. See python's ssl module for available ciphers
|
2014-10-22 14:33:29 +02:00
|
|
|
#ciphers =
|
|
|
|
|
2012-03-13 09:35:01 +01:00
|
|
|
# Reverse DNS to resolve client address in logs
|
2014-10-22 14:33:29 +02:00
|
|
|
#dns_lookup = True
|
|
|
|
|
2011-10-03 00:31:15 +02:00
|
|
|
|
2010-08-04 00:08:08 +02:00
|
|
|
[encoding]
|
2014-10-22 14:33:29 +02:00
|
|
|
|
2010-08-04 00:08:08 +02:00
|
|
|
# Encoding for responding requests
|
2014-10-22 14:33:29 +02:00
|
|
|
#request = utf-8
|
|
|
|
|
2012-01-25 14:53:46 +01:00
|
|
|
# Encoding for storing local collections
|
2014-10-22 14:33:29 +02:00
|
|
|
#stock = utf-8
|
|
|
|
|
2010-08-04 00:08:08 +02:00
|
|
|
|
2012-08-08 18:29:09 +02:00
|
|
|
[auth]
|
2014-10-22 14:33:29 +02:00
|
|
|
|
2012-08-08 18:29:09 +02:00
|
|
|
# Authentication method
|
2017-05-31 12:01:39 +02:00
|
|
|
# Value: none | htpasswd | remote_user | http_x_remote_user
|
|
|
|
#type = none
|
2011-10-03 00:31:15 +02:00
|
|
|
|
2011-04-25 16:47:42 +02:00
|
|
|
# Htpasswd filename
|
2014-10-22 14:33:29 +02:00
|
|
|
#htpasswd_filename = /etc/radicale/users
|
|
|
|
|
2011-04-25 16:47:42 +02:00
|
|
|
# Htpasswd encryption method
|
2015-10-21 02:09:11 +02:00
|
|
|
# Value: plain | sha1 | ssha | crypt | bcrypt | md5
|
2017-03-04 14:06:09 +01:00
|
|
|
# Only bcrypt can be considered secure.
|
2020-01-15 11:20:48 +01:00
|
|
|
# bcrypt requires the passlib[bcrypt] module and md5 requires
|
|
|
|
# the passlib module.
|
2017-03-04 14:06:09 +01:00
|
|
|
#htpasswd_encryption = bcrypt
|
2011-10-03 00:31:15 +02:00
|
|
|
|
2017-05-23 03:11:41 +02:00
|
|
|
# Incorrect authentication delay (seconds)
|
|
|
|
#delay = 1
|
|
|
|
|
2018-08-16 08:00:01 +02:00
|
|
|
# Message displayed in the client when a password is needed
|
|
|
|
#realm = Radicale - Password Required
|
|
|
|
|
2013-09-13 17:21:50 +02:00
|
|
|
|
2012-08-08 18:29:09 +02:00
|
|
|
[rights]
|
2014-10-22 14:33:29 +02:00
|
|
|
|
2013-12-25 00:13:56 +01:00
|
|
|
# Rights backend
|
2017-05-31 12:01:39 +02:00
|
|
|
# Value: none | authenticated | owner_only | owner_write | from_file
|
2017-03-04 14:06:09 +01:00
|
|
|
#type = owner_only
|
2012-08-08 18:29:09 +02:00
|
|
|
|
2013-08-14 10:50:59 +02:00
|
|
|
# File for rights management from_file
|
2017-03-04 14:06:09 +01:00
|
|
|
#file = /etc/radicale/rights
|
2012-08-11 00:56:45 +02:00
|
|
|
|
2012-08-08 18:29:09 +02:00
|
|
|
|
2010-08-04 00:08:08 +02:00
|
|
|
[storage]
|
2014-10-22 14:33:29 +02:00
|
|
|
|
2012-01-12 02:18:06 +01:00
|
|
|
# Storage backend
|
2016-04-07 19:02:52 +02:00
|
|
|
# Value: multifilesystem
|
2017-03-08 15:50:24 +01:00
|
|
|
#type = multifilesystem
|
2012-01-12 02:18:06 +01:00
|
|
|
|
2012-01-25 14:53:46 +01:00
|
|
|
# Folder for storing local collections, created if not present
|
2017-03-08 15:50:24 +01:00
|
|
|
#filesystem_folder = /var/lib/radicale/collections
|
2012-01-12 02:18:06 +01:00
|
|
|
|
2017-06-02 12:44:39 +02:00
|
|
|
# Delete sync token that are older (seconds)
|
|
|
|
#max_sync_token_age = 2592000
|
|
|
|
|
2016-06-11 10:34:18 +02:00
|
|
|
# Command that is run after changes to storage
|
2017-04-22 17:40:29 +02:00
|
|
|
# Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
|
2016-10-12 14:30:18 +02:00
|
|
|
#hook =
|
2016-06-11 10:34:18 +02:00
|
|
|
|
2011-10-03 00:31:15 +02:00
|
|
|
|
2017-05-31 13:18:40 +02:00
|
|
|
[web]
|
|
|
|
|
|
|
|
# Web interface backend
|
2017-05-31 13:18:42 +02:00
|
|
|
# Value: none | internal
|
|
|
|
#type = internal
|
2017-05-31 13:18:40 +02:00
|
|
|
|
|
|
|
|
2011-04-10 18:17:06 +02:00
|
|
|
[logging]
|
2014-10-22 14:33:29 +02:00
|
|
|
|
2018-08-16 08:00:02 +02:00
|
|
|
# Threshold for the logger
|
|
|
|
# Value: debug | info | warning | error | critical
|
|
|
|
#level = warning
|
2016-10-12 14:30:18 +02:00
|
|
|
|
2016-06-11 12:53:58 +02:00
|
|
|
# Don't include passwords in logs
|
|
|
|
#mask_passwords = True
|
|
|
|
|
2013-05-13 18:15:08 +02:00
|
|
|
|
2014-10-22 14:33:29 +02:00
|
|
|
[headers]
|
2013-05-13 18:15:08 +02:00
|
|
|
|
|
|
|
# Additional HTTP headers
|
|
|
|
#Access-Control-Allow-Origin = *
|