config 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. # Daemon flag
  16. #daemon = False
  17. # File storing the PID in daemon mode
  18. #pid =
  19. # Max parallel connections
  20. #max_connections = 20
  21. # Max size of request body (bytes)
  22. #max_content_length = 10000000
  23. # Socket timeout (seconds)
  24. #timeout = 10
  25. # SSL flag, enable HTTPS protocol
  26. #ssl = False
  27. # SSL certificate path
  28. #certificate = /etc/ssl/radicale.cert.pem
  29. # SSL private key
  30. #key = /etc/ssl/radicale.key.pem
  31. # CA certificate for validating clients. This can be used to secure
  32. # TCP traffic between Radicale and a reverse proxy
  33. #certificate_authority =
  34. # SSL Protocol used. See python's ssl module for available values
  35. #protocol = PROTOCOL_TLSv1_2
  36. # Available ciphers. See python's ssl module for available ciphers
  37. #ciphers =
  38. # Reverse DNS to resolve client address in logs
  39. #dns_lookup = True
  40. # Message displayed in the client when a password is needed
  41. #realm = Radicale - Password Required
  42. [encoding]
  43. # Encoding for responding requests
  44. #request = utf-8
  45. # Encoding for storing local collections
  46. #stock = utf-8
  47. [auth]
  48. # Authentication method
  49. # Value: none | htpasswd | remote_user | http_x_remote_user
  50. #type = none
  51. # Htpasswd filename
  52. #htpasswd_filename = /etc/radicale/users
  53. # Htpasswd encryption method
  54. # Value: plain | sha1 | ssha | crypt | bcrypt | md5
  55. # Only bcrypt can be considered secure.
  56. # bcrypt and md5 require the passlib library to be installed.
  57. #htpasswd_encryption = bcrypt
  58. # Incorrect authentication delay (seconds)
  59. #delay = 1
  60. [rights]
  61. # Rights backend
  62. # Value: none | authenticated | owner_only | owner_write | from_file
  63. #type = owner_only
  64. # File for rights management from_file
  65. #file = /etc/radicale/rights
  66. [storage]
  67. # Storage backend
  68. # Value: multifilesystem
  69. #type = multifilesystem
  70. # Folder for storing local collections, created if not present
  71. #filesystem_folder = /var/lib/radicale/collections
  72. # Lock the storage. Never start multiple instances of Radicale or edit the
  73. # storage externally while Radicale is running if disabled.
  74. #filesystem_locking = True
  75. # Sync all changes to disk during requests. (This can impair performance.)
  76. # Disabling it increases the risk of data loss, when the system crashes or
  77. # power fails!
  78. #filesystem_fsync = True
  79. # Delete sync token that are older (seconds)
  80. #max_sync_token_age = 2592000
  81. # Close the lock file when no more clients are waiting.
  82. # This option is not very useful in general, but on Windows files that are
  83. # opened cannot be deleted.
  84. #filesystem_close_lock_file = False
  85. # Command that is run after changes to storage
  86. # Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
  87. #hook =
  88. [web]
  89. # Web interface backend
  90. # Value: none | internal
  91. #type = internal
  92. [logging]
  93. # Logging configuration file
  94. # If no config is given, simple information is printed on the standard output
  95. # For more information about the syntax of the configuration file, see:
  96. # http://docs.python.org/library/logging.config.html
  97. #config =
  98. # Set the default logging level to debug
  99. #debug = False
  100. # Store all environment variables (including those set in the shell)
  101. #full_environment = False
  102. # Don't include passwords in logs
  103. #mask_passwords = True
  104. [headers]
  105. # Additional HTTP headers
  106. #Access-Control-Allow-Origin = *