config 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. # For example: 0.0.0.0:9999, [::]:9999
  14. hosts = 0.0.0.0:5232
  15. # Max parallel connections
  16. #max_connections = 8
  17. # Max size of request body (bytes)
  18. #max_content_length = 100000000
  19. # Socket timeout (seconds)
  20. #timeout = 30
  21. # SSL flag, enable HTTPS protocol
  22. #ssl = False
  23. # SSL certificate path
  24. #certificate = /etc/ssl/radicale.cert.pem
  25. # SSL private key
  26. #key = /etc/ssl/radicale.key.pem
  27. # CA certificate for validating clients. This can be used to secure
  28. # TCP traffic between Radicale and a reverse proxy
  29. #certificate_authority =
  30. [encoding]
  31. # Encoding for responding requests
  32. #request = utf-8
  33. # Encoding for storing local collections
  34. #stock = utf-8
  35. [auth]
  36. # Authentication method
  37. # Value: none | htpasswd | remote_user | http_x_remote_user
  38. type = ldap
  39. # URI to the LDAP server
  40. ldap_uri = ldap://localhost
  41. # The base DN of the LDAP server
  42. ldap_base = ##BASE_DN##
  43. # The reader DN of the LDAP server
  44. ldap_reader_dn = CN=ossreader,CN=Users,##BASE_DN##
  45. # Password of the reader DN
  46. ldap_secret = ossreader
  47. # If the ldap groups of the user need to be loaded
  48. ldap_load_groups = True
  49. # Htpasswd filename
  50. #htpasswd_filename = /etc/radicale/users
  51. # Htpasswd encryption method
  52. # Value: plain | bcrypt | md5
  53. # bcrypt requires the installation of radicale[bcrypt].
  54. #htpasswd_encryption = md5
  55. # Incorrect authentication delay (seconds)
  56. #delay = 1
  57. # Message displayed in the client when a password is needed
  58. #realm = Radicale - Password Required
  59. [rights]
  60. # Rights backend
  61. # Value: none | authenticated | owner_only | owner_write | from_file
  62. #type = owner_only
  63. # File for rights management from_file
  64. file = /etc/radicale/rights
  65. [storage]
  66. # Storage backend
  67. # Value: multifilesystem | multifilesystem_nolock
  68. #type = multifilesystem
  69. # Folder for storing local collections, created if not present
  70. #filesystem_folder = /var/lib/radicale/collections
  71. # Delete sync token that are older (seconds)
  72. #max_sync_token_age = 2592000
  73. # Command that is run after changes to storage
  74. # Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
  75. #hook =
  76. [web]
  77. # Web interface backend
  78. # Value: none | internal
  79. #type = internal
  80. [logging]
  81. # Threshold for the logger
  82. # Value: debug | info | warning | error | critical
  83. #level = warning
  84. # Don't include passwords in logs
  85. #mask_passwords = True
  86. [headers]
  87. # Additional HTTP headers
  88. #Access-Control-Allow-Origin = *