config 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. # SSL Protocol used. See python's ssl module for available values
  32. #protocol = PROTOCOL_TLSv1_2
  33. # Available ciphers. See python's ssl module for available ciphers
  34. #ciphers =
  35. # Reverse DNS to resolve client address in logs
  36. #dns_lookup = True
  37. # Message displayed in the client when a password is needed
  38. #realm = Radicale - Password Required
  39. [encoding]
  40. # Encoding for responding requests
  41. #request = utf-8
  42. # Encoding for storing local collections
  43. #stock = utf-8
  44. [auth]
  45. # Authentication method
  46. # Value: None | htpasswd
  47. #type = None
  48. # Htpasswd filename
  49. #htpasswd_filename = /etc/radicale/users
  50. # Htpasswd encryption method
  51. # Value: plain | sha1 | ssha | crypt | bcrypt | md5
  52. # Only bcrypt can be considered secure.
  53. # bcrypt and md5 require the passlib library to be installed.
  54. #htpasswd_encryption = bcrypt
  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. # Sync all changes to disk during requests. (This can impair performance.)
  68. # Disabling it increases the risk of data loss, when the system crashes or
  69. # power fails!
  70. #filesystem_fsync = True
  71. # Close the lock file when no more clients are waiting.
  72. # This option is not very useful in general, but on Windows files that are
  73. # opened cannot be deleted.
  74. #filesystem_close_lock_file = False
  75. # Command that is run after changes to storage
  76. # Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
  77. #hook =
  78. [logging]
  79. # Logging configuration file
  80. # If no config is given, simple information is printed on the standard output
  81. # For more information about the syntax of the configuration file, see:
  82. # http://docs.python.org/library/logging.config.html
  83. #config = /etc/radicale/logging
  84. # Set the default logging level to debug
  85. #debug = False
  86. # Store all environment variables (including those set in the shell)
  87. #full_environment = False
  88. # Don't include passwords in logs
  89. #mask_passwords = True
  90. [headers]
  91. # Additional HTTP headers
  92. #Access-Control-Allow-Origin = *