config.j2 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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 = radicale.cose.belle: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 = htpasswd
  39. # Htpasswd filename
  40. htpasswd_filename = /srv/radicale/users
  41. # Htpasswd encryption method
  42. # Value: plain | bcrypt | md5
  43. # bcrypt requires the installation of radicale[bcrypt].
  44. htpasswd_encryption = bcrypt
  45. # Incorrect authentication delay (seconds)
  46. #delay = 1
  47. # Message displayed in the client when a password is needed
  48. #realm = Radicale - Password Required
  49. [rights]
  50. # Rights backend
  51. # Value: none | authenticated | owner_only | owner_write | from_file
  52. #type = owner_only
  53. # File for rights management from_file
  54. #file = /etc/radicale/rights
  55. [storage]
  56. # Storage backend
  57. # Value: multifilesystem
  58. #type = multifilesystem
  59. # Folder for storing local collections, created if not present
  60. filesystem_folder = /srv/radicale/storage
  61. # Delete sync token that are older (seconds)
  62. #max_sync_token_age = 2592000
  63. # Command that is run after changes to storage
  64. # Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
  65. #hook =
  66. [web]
  67. # Web interface backend
  68. # Value: none | internal
  69. type = internal
  70. [logging]
  71. # Threshold for the logger
  72. # Value: debug | info | warning | error | critical
  73. #level = warning
  74. # Don't include passwords in logs
  75. #mask_passwords = True
  76. [headers]
  77. # Additional HTTP headers
  78. #Access-Control-Allow-Origin = *