config 2.6 KB

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