config 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. # IPv6 adresses are configured to only allow IPv6 connections
  15. #hosts = 0.0.0.0:5232
  16. # Daemon flag
  17. #daemon = False
  18. # File storing the PID in daemon mode
  19. #pid =
  20. # Max parallel connections
  21. #max_connections = 20
  22. # Max size of request body (bytes)
  23. #max_content_length = 10000000
  24. # Socket timeout (seconds)
  25. #timeout = 10
  26. # SSL flag, enable HTTPS protocol
  27. #ssl = False
  28. # SSL certificate path
  29. #certificate = /etc/apache2/ssl/server.crt
  30. # SSL private key
  31. #key = /etc/apache2/ssl/server.key
  32. # SSL Protocol used. See python's ssl module for available values
  33. #protocol = PROTOCOL_SSLv23
  34. # Available ciphers. See python's ssl module for available ciphers
  35. #ciphers =
  36. # Reverse DNS to resolve client address in logs
  37. #dns_lookup = True
  38. # Message displayed in the client when a password is needed
  39. #realm = Radicale - Password Required
  40. [encoding]
  41. # Encoding for responding requests
  42. #request = utf-8
  43. # Encoding for storing local collections
  44. #stock = utf-8
  45. [auth]
  46. # Authentication method
  47. # Value: None | htpasswd
  48. #type = None
  49. # Htpasswd filename
  50. #htpasswd_filename = /etc/radicale/users
  51. # Htpasswd encryption method
  52. # Value: plain | sha1 | ssha | crypt | bcrypt | md5
  53. #htpasswd_encryption = crypt
  54. [rights]
  55. # Rights backend
  56. # Value: None | authenticated | owner_only | owner_write | from_file
  57. #type = None
  58. # File for rights management from_file
  59. #file = ~/.config/radicale/rights
  60. [storage]
  61. # Storage backend
  62. # Value: multifilesystem
  63. #type = filesystem
  64. # Folder for storing local collections, created if not present
  65. #filesystem_folder = ~/.config/radicale/collections
  66. # Sync all changes to disk during requests. (This can impair performance.)
  67. # Disabling it increases the risk of data loss, when the system crashes or
  68. # power fails!
  69. #filesystem_fsync = True
  70. # Close the lock file when no more clients are waiting.
  71. # This option is not very useful in general, but on Windows files that are
  72. # opened cannot be deleted.
  73. #filesystem_close_lock_file = False
  74. # Command that is run after changes to storage
  75. # Example: git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
  76. #hook =
  77. [logging]
  78. # Logging configuration file
  79. # If no config is given, simple information is printed on the standard output
  80. # For more information about the syntax of the configuration file, see:
  81. # http://docs.python.org/library/logging.config.html
  82. #config = /etc/radicale/logging
  83. # Set the default logging level to debug
  84. #debug = False
  85. # Store all environment variables (including those set in the shell)
  86. #full_environment = False
  87. # Don't include passwords in logs
  88. #mask_passwords = True
  89. [headers]
  90. # Additional HTTP headers
  91. #Access-Control-Allow-Origin = *