config 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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 | 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. # Delete sync token that are older (seconds)
  69. #max_sync_token_age = 2592000
  70. # Command that is run after changes to storage
  71. # Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
  72. #hook =
  73. [web]
  74. # Web interface backend
  75. # Value: none | internal
  76. #type = internal
  77. [logging]
  78. # Threshold for the logger
  79. # Value: debug | info | warning | error | critical
  80. #level = warning
  81. # Don't include passwords in logs
  82. #mask_passwords = True
  83. [headers]
  84. # Additional HTTP headers
  85. #Access-Control-Allow-Origin = *