132 lines
2.7 KiB
Plaintext
132 lines
2.7 KiB
Plaintext
# -*- mode: conf -*-
|
|
# vim:ft=cfg
|
|
|
|
# Config file for Radicale - A simple calendar server
|
|
#
|
|
# Place it into /etc/radicale/config (global)
|
|
# or ~/.config/radicale/config (user)
|
|
#
|
|
# The current values are the default ones
|
|
|
|
|
|
[server]
|
|
|
|
# CalDAV server hostnames separated by a comma
|
|
# IPv4 syntax: address:port
|
|
# IPv6 syntax: [address]:port
|
|
# For example: 0.0.0.0:9999, [::]:9999
|
|
hosts = 0.0.0.0:5232, [::]:5232
|
|
|
|
# Max parallel connections
|
|
#max_connections = 8
|
|
|
|
# Max size of request body (bytes)
|
|
#max_content_length = 100000000
|
|
|
|
# Socket timeout (seconds)
|
|
#timeout = 30
|
|
|
|
# SSL flag, enable HTTPS protocol
|
|
#ssl = False
|
|
|
|
# SSL certificate path
|
|
#certificate = /etc/ssl/radicale.cert.pem
|
|
|
|
# SSL private key
|
|
#key = /etc/ssl/radicale.key.pem
|
|
|
|
# CA certificate for validating clients. This can be used to secure
|
|
# TCP traffic between Radicale and a reverse proxy
|
|
#certificate_authority =
|
|
|
|
|
|
[encoding]
|
|
|
|
# Encoding for responding requests
|
|
#request = utf-8
|
|
|
|
# Encoding for storing local collections
|
|
#stock = utf-8
|
|
|
|
|
|
[auth]
|
|
type = radicale3_auth_ldap
|
|
|
|
# LDAP server URL, with protocol and port
|
|
ldap_url = ldap://ldap:389
|
|
|
|
# LDAP base path
|
|
ldap_base = ou=Users,dc=TESTDOMAIN
|
|
|
|
# LDAP login attribute
|
|
ldap_attribute = uid
|
|
|
|
# LDAP filter string
|
|
# placed as X in a query of the form (&(...)X)
|
|
# example: (objectCategory=Person)(objectClass=User)(memberOf=cn=calenderusers,ou=users,dc=example,dc=org)
|
|
ldap_filter = (objectClass=person)
|
|
|
|
# LDAP dn for initial login, used if LDAP server does not allow anonymous searches
|
|
# Leave empty if searches are anonymous
|
|
ldap_binddn = cn=admin,dc=TESTDOMAIN
|
|
|
|
# LDAP password for initial login, used with ldap_binddn
|
|
ldap_password = verysecurepassword
|
|
|
|
# LDAP scope of the search
|
|
ldap_scope = LEVEL
|
|
|
|
# LDAP extended option
|
|
# If the server is samba, ldap_support_extended is should be no
|
|
ldap_support_extended = yes
|
|
|
|
|
|
[rights]
|
|
|
|
# Rights backend
|
|
# Value: none | authenticated | owner_only | owner_write | from_file
|
|
#type = owner_only
|
|
|
|
# File for rights management from_file
|
|
#file = /etc/radicale/rights
|
|
|
|
|
|
[storage]
|
|
|
|
# Storage backend
|
|
# Value: multifilesystem | multifilesystem_nolock
|
|
#type = multifilesystem
|
|
|
|
# Folder for storing local collections, created if not present
|
|
#filesystem_folder = /var/lib/radicale/collections
|
|
|
|
# Delete sync token that are older (seconds)
|
|
#max_sync_token_age = 2592000
|
|
|
|
# Command that is run after changes to storage
|
|
# Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
|
|
#hook =
|
|
|
|
|
|
[web]
|
|
|
|
# Web interface backend
|
|
# Value: none | internal
|
|
#type = internal
|
|
|
|
|
|
[logging]
|
|
|
|
# Threshold for the logger
|
|
# Value: debug | info | warning | error | critical
|
|
#level = warning
|
|
|
|
# Don't include passwords in logs
|
|
#mask_passwords = True
|
|
|
|
|
|
[headers]
|
|
|
|
# Additional HTTP headers
|
|
#Access-Control-Allow-Origin = *
|