config 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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. [encoding]
  32. # Encoding for responding requests
  33. #request = utf-8
  34. # Encoding for storing local collections
  35. #stock = utf-8
  36. [auth]
  37. # Authentication method
  38. # Value: none | htpasswd | remote_user | http_x_remote_user | ldap | denyall
  39. #type = none
  40. # URI to the LDAP server
  41. #ldap_uri = ldap://localhost
  42. # The base DN where the user accounts have to be searched
  43. #ldap_base = ##BASE_DN##
  44. # The reader DN of the LDAP server
  45. #ldap_reader_dn = CN=ldapreader,CN=Users,##BASE_DN##
  46. # Password of the reader DN
  47. #ldap_secret = ldapreader-secret
  48. # Path of the file containing password of the reader DN
  49. #ldap_secret_file = /run/secrets/ldap_password
  50. # If the ldap groups of the user need to be loaded
  51. #ldap_load_groups = True
  52. # The filter to find the DN of the user. This filter must contain a python-style placeholder for the login
  53. #ldap_filter = (&(objectClass=person)(uid={0}))
  54. # Use ssl on the ldap connection
  55. #ldap_use_ssl = False
  56. # The certificate verification mode. NONE, OPTIONAL, default is REQUIRED
  57. #ldap_ssl_verify_mode = REQUIRED
  58. # The path to the CA file in pem format which is used to certificate the server certificate
  59. #ldap_ssl_ca_file =
  60. # Htpasswd filename
  61. #htpasswd_filename = /etc/radicale/users
  62. # Htpasswd encryption method
  63. # Value: plain | bcrypt | md5 | sha256 | sha512 | autodetect
  64. # bcrypt requires the installation of 'bcrypt' module.
  65. #htpasswd_encryption = autodetect
  66. # Incorrect authentication delay (seconds)
  67. #delay = 1
  68. # Message displayed in the client when a password is needed
  69. #realm = Radicale - Password Required
  70. # Convert username to lowercase, must be true for case-insensitive auth providers
  71. #lc_username = False
  72. # Strip domain name from username
  73. #strip_domain = False
  74. [rights]
  75. # Rights backend
  76. # Value: none | authenticated | owner_only | owner_write | from_file
  77. #type = owner_only
  78. # File for rights management from_file
  79. #file = /etc/radicale/rights
  80. # Permit delete of a collection (global)
  81. #permit_delete_collection = True
  82. # Permit overwrite of a collection (global)
  83. #permit_overwrite_collection = True
  84. [storage]
  85. # Storage backend
  86. # Value: multifilesystem | multifilesystem_nolock
  87. #type = multifilesystem
  88. # Folder for storing local collections, created if not present
  89. #filesystem_folder = /var/lib/radicale/collections
  90. # Delete sync token that are older (seconds)
  91. #max_sync_token_age = 2592000
  92. # Skip broken item instead of triggering an exception
  93. #skip_broken_item = True
  94. # Command that is run after changes to storage
  95. # Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by \"%(user)s\"")
  96. #hook =
  97. # Create predefined user collections
  98. #
  99. # json format:
  100. #
  101. # {
  102. # "def-addressbook": {
  103. # "D:displayname": "Personal Address Book",
  104. # "tag": "VADDRESSBOOK"
  105. # },
  106. # "def-calendar": {
  107. # "C:supported-calendar-component-set": "VEVENT,VJOURNAL,VTODO",
  108. # "D:displayname": "Personal Calendar",
  109. # "tag": "VCALENDAR"
  110. # }
  111. # }
  112. #
  113. #predefined_collections =
  114. [web]
  115. # Web interface backend
  116. # Value: none | internal
  117. #type = internal
  118. [logging]
  119. # Threshold for the logger
  120. # Value: debug | info | warning | error | critical
  121. #level = info
  122. # Don't include passwords in logs
  123. #mask_passwords = True
  124. # Log bad PUT request content
  125. #bad_put_request_content = False
  126. # Log backtrace on level=debug
  127. #backtrace_on_debug = False
  128. # Log request header on level=debug
  129. #request_header_on_debug = False
  130. # Log request content on level=debug
  131. #request_content_on_debug = False
  132. # Log response content on level=debug
  133. #response_content_on_debug = False
  134. # Log rights rule which doesn't match on level=debug
  135. #rights_rule_doesnt_match_on_debug = False
  136. [headers]
  137. # Additional HTTP headers
  138. #Access-Control-Allow-Origin = *
  139. [hook]
  140. # Hook types
  141. # Value: none | rabbitmq
  142. #type = none
  143. #rabbitmq_endpoint =
  144. #rabbitmq_topic =
  145. #rabbitmq_queue_type = classic
  146. [reporting]
  147. # When returning a free-busy report, limit the number of returned
  148. # occurences per event to prevent DOS attacks.
  149. #max_freebusy_occurrence = 10000