These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

133 lines
2.8 KiB

  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. hosts = 0.0.0.0:5232
  16. # Max parallel connections
  17. #max_connections = 8
  18. # Max size of request body (bytes)
  19. #max_content_length = 100000000
  20. # Socket timeout (seconds)
  21. #timeout = 30
  22. # SSL flag, enable HTTPS protocol
  23. #ssl = False
  24. # SSL certificate path
  25. #certificate = /etc/ssl/radicale.cert.pem
  26. # SSL private key
  27. #key = /etc/ssl/radicale.key.pem
  28. # CA certificate for validating clients. This can be used to secure
  29. # TCP traffic between Radicale and a reverse proxy
  30. #certificate_authority =
  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. [encoding]
  38. # Encoding for responding requests
  39. #request = utf-8
  40. # Encoding for storing local collections
  41. #stock = utf-8
  42. [auth]
  43. # Authentication method
  44. # Value: none | htpasswd | remote_user | http_x_remote_user
  45. type = htpasswd
  46. # Htpasswd filename
  47. htpasswd_filename = /data/users
  48. # Htpasswd encryption method
  49. # Value: plain | sha1 | ssha | crypt | bcrypt | md5
  50. # Only bcrypt can be considered secure.
  51. # bcrypt and md5 require the passlib library to be installed.
  52. htpasswd_encryption = bcrypt
  53. # Incorrect authentication delay (seconds)
  54. #delay = 1
  55. # Message displayed in the client when a password is needed
  56. #realm = Radicale - Password Required
  57. [rights]
  58. # Rights backend
  59. # Value: none | authenticated | owner_only | owner_write | from_file
  60. #type = owner_only
  61. # File for rights management from_file
  62. #file = /etc/radicale/rights
  63. [storage]
  64. # Storage backend
  65. # Value: multifilesystem
  66. #type = multifilesystem
  67. # Folder for storing local collections, created if not present
  68. #filesystem_folder = /var/lib/radicale/collections
  69. filesystem_folder = /data/collections
  70. # Delete sync token that are older (seconds)
  71. #max_sync_token_age = 2592000
  72. # Command that is run after changes to storage
  73. # Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
  74. #hook =
  75. [web]
  76. # Web interface backend
  77. # Value: none | internal | radicale_infcloud
  78. # (See also https://github.com/Unrud/RadicaleInfCloud)
  79. type = internal
  80. [logging]
  81. # Threshold for the logger
  82. # Value: debug | info | warning | error | critical
  83. #level = warning
  84. # Don't include passwords in logs
  85. #mask_passwords = True
  86. [headers]
  87. # Additional HTTP headers
  88. #Access-Control-Allow-Origin = *