config 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. # IPv6 adresses are configured to only allow IPv6 connections
  15. hosts = 0.0.0.0:5232
  16. # Daemon flag
  17. daemon = False
  18. # File storing the PID in daemon mode
  19. pid =
  20. # SSL flag, enable HTTPS protocol
  21. ssl = False
  22. # SSL certificate path
  23. certificate = /etc/apache2/ssl/server.crt
  24. # SSL private key
  25. key = /etc/apache2/ssl/server.key
  26. # SSL Protocol used. See python's ssl module for available values
  27. protocol = PROTOCOL_SSLv23
  28. # Ciphers available. See python's ssl module for available ciphers
  29. ciphers =
  30. # Reverse DNS to resolve client address in logs
  31. dns_lookup = True
  32. # Root URL of Radicale (starting and ending with a slash)
  33. base_prefix = /
  34. # Possibility to allow URLs cleaned by a HTTP server, without the base_prefix
  35. can_skip_base_prefix = False
  36. # Message displayed in the client when a password is needed
  37. realm = Radicale - Password Required
  38. [encoding]
  39. # Encoding for responding requests
  40. request = utf-8
  41. # Encoding for storing local collections
  42. stock = utf-8
  43. [auth]
  44. # Authentication method
  45. # Value: None | htpasswd | IMAP | LDAP | PAM | courier | http | remote_user | custom
  46. type = None
  47. # Custom authentication handler
  48. custom_handler =
  49. # Htpasswd filename
  50. htpasswd_filename = /etc/radicale/users
  51. # Htpasswd encryption method
  52. # Value: plain | sha1 | crypt
  53. htpasswd_encryption = crypt
  54. # LDAP server URL, with protocol and port
  55. ldap_url = ldap://localhost:389/
  56. # LDAP base path
  57. ldap_base = ou=users,dc=example,dc=com
  58. # LDAP login attribute
  59. ldap_attribute = uid
  60. # LDAP filter string
  61. # placed as X in a query of the form (&(...)X)
  62. # example: (objectCategory=Person)(objectClass=User)(memberOf=cn=calenderusers,ou=users,dc=example,dc=org)
  63. # leave empty if no additional filter is needed
  64. ldap_filter =
  65. # LDAP dn for initial login, used if LDAP server does not allow anonymous searches
  66. # Leave empty if searches are anonymous
  67. ldap_binddn =
  68. # LDAP password for initial login, used with ldap_binddn
  69. ldap_password =
  70. # LDAP scope of the search
  71. ldap_scope = OneLevel
  72. # IMAP Configuration
  73. imap_hostname = localhost
  74. imap_port = 143
  75. imap_ssl = False
  76. # PAM group user should be member of
  77. pam_group_membership =
  78. # Path to the Courier Authdaemon socket
  79. courier_socket =
  80. # HTTP authentication request URL endpoint
  81. http_url =
  82. # POST parameter to use for username
  83. http_user_parameter =
  84. # POST parameter to use for password
  85. http_password_parameter =
  86. [git]
  87. # Git default options
  88. committer = Radicale <radicale@example.com>
  89. [rights]
  90. # Rights backend
  91. # Value: None | authenticated | owner_only | owner_write | from_file | custom
  92. type = None
  93. # Custom rights handler
  94. custom_handler =
  95. # File for rights management from_file
  96. file = ~/.config/radicale/rights
  97. [storage]
  98. # Storage backend
  99. # Value: filesystem | multifilesystem | database | custom
  100. type = filesystem
  101. # Custom storage handler
  102. custom_handler =
  103. # Folder for storing local collections, created if not present
  104. filesystem_folder = ~/.config/radicale/collections
  105. # Database URL for SQLAlchemy
  106. # dialect+driver://user:password@host/dbname[?key=value..]
  107. # For example: sqlite:///var/db/radicale.db, postgresql://user:password@localhost/radicale
  108. # See http://docs.sqlalchemy.org/en/rel_0_8/core/engines.html#sqlalchemy.create_engine
  109. database_url =
  110. [logging]
  111. # Logging configuration file
  112. # If no config is given, simple information is printed on the standard output
  113. # For more information about the syntax of the configuration file, see:
  114. # http://docs.python.org/library/logging.config.html
  115. config = /etc/radicale/logging
  116. # Set the default logging level to debug
  117. debug = False
  118. # Store all environment variables (including those set in the shell)
  119. full_environment = False
  120. # Additional HTTP headers
  121. #[headers]
  122. #Access-Control-Allow-Origin = *