config 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. # -*- mode: conf -*-
  2. # vim:ft=cfg
  3. # Config file for Radicale - A simple calendar server
  4. #
  5. # Place it into /etc/radicale/config (global)
  6. # or ~/.config/radicale/config (user)
  7. #
  8. # The current values are the default ones
  9. [server]
  10. # CalDAV server hostnames separated by a comma
  11. # IPv4 syntax: address:port
  12. # IPv6 syntax: [address]:port
  13. # Hostname syntax (using "getaddrinfo" to resolve to IPv4/IPv6 adress(es)): hostname:port
  14. # For example: 0.0.0.0:9999, [::]:9999, localhost:9999
  15. #hosts = localhost:5232
  16. # Max parallel connections
  17. #max_connections = 8
  18. # Max size of request body (bytes)
  19. #max_content_length = 100000000
  20. # Socket timeout (seconds)
  21. #timeout = 30
  22. # SSL flag, enable HTTPS protocol
  23. #ssl = False
  24. # SSL certificate path
  25. #certificate = /etc/ssl/radicale.cert.pem
  26. # SSL private key
  27. #key = /etc/ssl/radicale.key.pem
  28. # CA certificate for validating clients. This can be used to secure
  29. # TCP traffic between Radicale and a reverse proxy
  30. #certificate_authority =
  31. # SSL protocol, secure configuration: ALL -SSLv3 -TLSv1 -TLSv1.1
  32. #protocol = (default)
  33. # SSL ciphersuite, secure configuration: DHE:ECDHE:-NULL:-SHA (see also "man openssl-ciphers")
  34. #ciphersuite = (default)
  35. [encoding]
  36. # Encoding for responding requests
  37. #request = utf-8
  38. # Encoding for storing local collections
  39. #stock = utf-8
  40. [auth]
  41. # Authentication method
  42. # Value: none | htpasswd | remote_user | http_x_remote_user | ldap | denyall
  43. #type = none
  44. # URI to the LDAP server
  45. #ldap_uri = ldap://localhost
  46. # The base DN where the user accounts have to be searched
  47. #ldap_base = ##BASE_DN##
  48. # The reader DN of the LDAP server
  49. #ldap_reader_dn = CN=ldapreader,CN=Users,##BASE_DN##
  50. # Password of the reader DN
  51. #ldap_secret = ldapreader-secret
  52. # Path of the file containing password of the reader DN
  53. #ldap_secret_file = /run/secrets/ldap_password
  54. # If the ldap groups of the user need to be loaded
  55. #ldap_load_groups = True
  56. # The filter to find the DN of the user. This filter must contain a python-style placeholder for the login
  57. #ldap_filter = (&(objectClass=person)(uid={0}))
  58. # the attribute holding the value to be used as username after authentication
  59. #ldap_user_attribute = cn
  60. # Use ssl on the ldap connection
  61. #ldap_use_ssl = False
  62. # The certificate verification mode. NONE, OPTIONAL, default is REQUIRED
  63. #ldap_ssl_verify_mode = REQUIRED
  64. # The path to the CA file in pem format which is used to certificate the server certificate
  65. #ldap_ssl_ca_file =
  66. # Htpasswd filename
  67. #htpasswd_filename = /etc/radicale/users
  68. # Htpasswd encryption method
  69. # Value: plain | bcrypt | md5 | sha256 | sha512 | autodetect
  70. # bcrypt requires the installation of 'bcrypt' module.
  71. #htpasswd_encryption = autodetect
  72. # Incorrect authentication delay (seconds)
  73. #delay = 1
  74. # Message displayed in the client when a password is needed
  75. #realm = Radicale - Password Required
  76. # Convert username to lowercase, must be true for case-insensitive auth providers
  77. #lc_username = False
  78. # Strip domain name from username
  79. #strip_domain = False
  80. [rights]
  81. # Rights backend
  82. # Value: authenticated | owner_only | owner_write | from_file
  83. #type = owner_only
  84. # File for rights management from_file
  85. #file = /etc/radicale/rights
  86. # Permit delete of a collection (global)
  87. #permit_delete_collection = True
  88. # Permit overwrite of a collection (global)
  89. #permit_overwrite_collection = True
  90. [storage]
  91. # Storage backend
  92. # Value: multifilesystem | multifilesystem_nolock
  93. #type = multifilesystem
  94. # Folder for storing local collections, created if not present
  95. #filesystem_folder = /var/lib/radicale/collections
  96. # Folder for storing cache of local collections, created if not present
  97. # Note: only used in case of use_cache_subfolder_* options are active
  98. # Note: can be used on multi-instance setup to cache files on local node (see below)
  99. #filesystem_cache_folder = (filesystem_folder)
  100. # Use subfolder 'collection-cache' for 'item' cache file structure instead of inside collection folder
  101. # Note: can be used on multi-instance setup to cache 'item' on local node
  102. #use_cache_subfolder_for_item = False
  103. # Use subfolder 'collection-cache' for 'history' cache file structure instead of inside collection folder
  104. # Note: use only on single-instance setup, will break consistency with client in multi-instance setup
  105. #use_cache_subfolder_for_history = False
  106. # Use subfolder 'collection-cache' for 'sync-token' cache file structure instead of inside collection folder
  107. # Note: use only on single-instance setup, will break consistency with client in multi-instance setup
  108. #use_cache_subfolder_for_synctoken = False
  109. # Use last modifiction time (nanoseconds) and size (bytes) for 'item' cache instead of SHA256 (improves speed)
  110. # Note: check used filesystem mtime precision before enabling
  111. # Note: conversion is done on access, bulk conversion can be done offline using storage verification option: radicale --verify-storage
  112. #use_mtime_and_size_for_item_cache = False
  113. # Use configured umask for folder creation (not applicable for OS Windows)
  114. # Useful value: 0077 | 0027 | 0007 | 0022
  115. #folder_umask = (system default, usual 0022)
  116. # Delete sync token that are older (seconds)
  117. #max_sync_token_age = 2592000
  118. # Skip broken item instead of triggering an exception
  119. #skip_broken_item = True
  120. # Command that is run after changes to storage, default is emtpy
  121. # Supported placeholders:
  122. # %(user): logged-in user
  123. # Command will be executed with base directory defined in filesystem_folder
  124. # For "git" check DOCUMENTATION.md for bootstrap instructions
  125. # Example: git add -A && (git diff --cached --quiet || git commit -m "Changes by \"%(user)s\"")
  126. #hook =
  127. # Create predefined user collections
  128. #
  129. # json format:
  130. #
  131. # {
  132. # "def-addressbook": {
  133. # "D:displayname": "Personal Address Book",
  134. # "tag": "VADDRESSBOOK"
  135. # },
  136. # "def-calendar": {
  137. # "C:supported-calendar-component-set": "VEVENT,VJOURNAL,VTODO",
  138. # "D:displayname": "Personal Calendar",
  139. # "tag": "VCALENDAR"
  140. # }
  141. # }
  142. #
  143. #predefined_collections =
  144. [web]
  145. # Web interface backend
  146. # Value: none | internal
  147. #type = internal
  148. [logging]
  149. # Threshold for the logger
  150. # Value: debug | info | warning | error | critical
  151. #level = info
  152. # Don't include passwords in logs
  153. #mask_passwords = True
  154. # Log bad PUT request content
  155. #bad_put_request_content = False
  156. # Log backtrace on level=debug
  157. #backtrace_on_debug = False
  158. # Log request header on level=debug
  159. #request_header_on_debug = False
  160. # Log request content on level=debug
  161. #request_content_on_debug = False
  162. # Log response content on level=debug
  163. #response_content_on_debug = False
  164. # Log rights rule which doesn't match on level=debug
  165. #rights_rule_doesnt_match_on_debug = False
  166. # Log storage cache actions on level=debug
  167. #storage_cache_actions_on_debug = False
  168. [headers]
  169. # Additional HTTP headers
  170. #Access-Control-Allow-Origin = *
  171. [hook]
  172. # Hook types
  173. # Value: none | rabbitmq
  174. #type = none
  175. #rabbitmq_endpoint =
  176. #rabbitmq_topic =
  177. #rabbitmq_queue_type = classic
  178. [reporting]
  179. # When returning a free-busy report, limit the number of returned
  180. # occurences per event to prevent DOS attacks.
  181. #max_freebusy_occurrence = 10000