config 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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 = 127.0.0.1:5232
  15. # Max parallel connections
  16. #max_connections = 20
  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. # SSL Protocol used. See python's ssl module for available values
  31. #protocol = PROTOCOL_TLSv1_2
  32. # Available ciphers. See python's ssl module for available ciphers
  33. #ciphers =
  34. # Reverse DNS to resolve client address in logs
  35. #dns_lookup = True
  36. [encoding]
  37. # Encoding for responding requests
  38. #request = utf-8
  39. # Encoding for storing local collections
  40. #stock = utf-8
  41. [auth]
  42. # Authentication method
  43. # Value: none | htpasswd | remote_user | http_x_remote_user
  44. #type = none
  45. # Htpasswd filename
  46. #htpasswd_filename = /etc/radicale/users
  47. # Htpasswd encryption method
  48. # Value: plain | sha1 | ssha | crypt | bcrypt | md5
  49. # Only bcrypt can be considered secure.
  50. # bcrypt and md5 require the passlib library to be installed.
  51. #htpasswd_encryption = bcrypt
  52. # Incorrect authentication delay (seconds)
  53. #delay = 1
  54. # Message displayed in the client when a password is needed
  55. #realm = Radicale - Password Required
  56. [rights]
  57. # Rights backend
  58. # Value: none | authenticated | owner_only | owner_write | from_file
  59. #type = owner_only
  60. # File for rights management from_file
  61. #file = /etc/radicale/rights
  62. [storage]
  63. # Storage backend
  64. # Value: multifilesystem
  65. #type = multifilesystem
  66. # Folder for storing local collections, created if not present
  67. #filesystem_folder = /var/lib/radicale/collections
  68. # Lock the storage. Never start multiple instances of Radicale or edit the
  69. # storage externally while Radicale is running if disabled.
  70. #filesystem_locking = True
  71. # Sync all changes to disk during requests. (This can impair performance.)
  72. # Disabling it increases the risk of data loss, when the system crashes or
  73. # power fails!
  74. #filesystem_fsync = True
  75. # Delete sync token that are older (seconds)
  76. #max_sync_token_age = 2592000
  77. # Command that is run after changes to storage
  78. # Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
  79. #hook =
  80. [web]
  81. # Web interface backend
  82. # Value: none | internal
  83. #type = internal
  84. [logging]
  85. # Set the logging level to debug
  86. #debug = False
  87. # Don't include passwords in logs
  88. #mask_passwords = True
  89. [headers]
  90. # Additional HTTP headers
  91. #Access-Control-Allow-Origin = *