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
|
|
|
|
2010-08-04 00:08:08 +02:00
|
|
|
# Daemon flag
|
2014-10-22 14:33:29 +02:00
|
|
|
#daemon = False
|
|
|
|
|
2011-05-13 22:50:55 +02:00
|
|
|
# File storing the PID in daemon mode
|
2014-10-22 14:33:29 +02:00
|
|
|
#pid =
|
|
|
|
|
2016-06-10 14:36:44 +02:00
|
|
|
# Max parallel connections
|
|
|
|
#max_connections = 20
|
|
|
|
|
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
|
|
|
|
|
2013-06-28 16:39:09 +02:00
|
|
|
# Message displayed in the client when a password is needed
|
2014-10-22 14:33:29 +02:00
|
|
|
#realm = Radicale - Password Required
|
2010-08-04 00:08:08 +02:00
|
|
|
|
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.
|
|
|
|
# bcrypt and md5 require the passlib library to be installed.
|
|
|
|
#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
|
|
|
|
|
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-01 11:21:22 +02:00
|
|
|
# Lock the storage. Never start multiple instances of Radicale or edit the
|
|
|
|
# storage externally while Radicale is running if disabled.
|
|
|
|
#filesystem_locking = True
|
|
|
|
|
2016-08-08 05:17:41 +02:00
|
|
|
# Sync all changes to disk during requests. (This can impair performance.)
|
|
|
|
# Disabling it increases the risk of data loss, when the system crashes or
|
|
|
|
# power fails!
|
2016-10-12 14:30:18 +02:00
|
|
|
#filesystem_fsync = True
|
|
|
|
|
2017-06-02 12:44:39 +02:00
|
|
|
# Delete sync token that are older (seconds)
|
|
|
|
#max_sync_token_age = 2592000
|
|
|
|
|
2016-10-12 14:30:18 +02:00
|
|
|
# Close the lock file when no more clients are waiting.
|
|
|
|
# This option is not very useful in general, but on Windows files that are
|
|
|
|
# opened cannot be deleted.
|
|
|
|
#filesystem_close_lock_file = False
|
2016-08-08 05:17:41 +02:00
|
|
|
|
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 07:59:55 +02:00
|
|
|
# Set the logging level to debug
|
2014-10-22 14:33:29 +02:00
|
|
|
#debug = False
|
2016-10-12 14:30:18 +02:00
|
|
|
|
2011-05-11 17:09:44 +02:00
|
|
|
# Store all environment variables (including those set in the shell)
|
2014-10-22 14:33:29 +02:00
|
|
|
#full_environment = False
|
|
|
|
|
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 = *
|