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.

192 lines
5.6 KiB

  1. #
  2. # You find additional information on Radicale Homepage
  3. # http://radicale.org
  4. #
  5. # OpenWrt's wiki needs to be setup/updated ;-)
  6. #
  7. # if setting additional options please remember that UCI does not support
  8. # section names and option names with "-" (Dash) inside their name
  9. # to use them anyway replace "-" with "_" (Underscore)
  10. # Each Radicale's config [section] is setup as UCI config setting 'section'
  11. #
  12. ####################################################
  13. # Server options
  14. #
  15. config setting 'server'
  16. # hostname:port
  17. # IPv4 syntax: address:port
  18. # IPv6 syntax: [address]:port
  19. # ATTENTION:
  20. # only use ports > 1024 (non-privileged Ports)
  21. # because this implementation is running as non-root user
  22. # Default: 0.0.0.0:5232
  23. # list hosts '0.0.0.0:5232'
  24. # list hosts 'localhost:5232'
  25. # SSL flag, enable HTTPS protocol
  26. # Default: 0 (disabled)
  27. # option ssl '1'
  28. # SSL Protocol used. See python's ssl module for available values
  29. # Default: PROTOCOL_SSLv23
  30. # option protocol 'PROTOCOL_SSLv23'
  31. # Ciphers available. See python's ssl module for available ciphers
  32. # option ciphers ''
  33. # SSL certificate path and file
  34. # option certificate '/etc/radicale/ssl/server.crt'
  35. # SSL private key path and file
  36. # option key '/etc/radicale/ssl/server.key'
  37. # Reverse DNS to resolve client address in logs
  38. # Default: 0 (disabled)
  39. # option dns_lookup '1'
  40. # Message displayed in the client when a password is needed
  41. # option realm 'Radicale - Password Required'
  42. ####################################################
  43. # Encoding options
  44. #
  45. config setting 'encoding'
  46. # Encoding for responding requests
  47. # option request 'utf-8'
  48. # Encoding for storing local collections
  49. # option stock 'utf-8'
  50. ####################################################
  51. # Authentication options
  52. #
  53. config setting 'auth'
  54. # Authentication method
  55. # Value: None | htpasswd | IMAP | LDAP | PAM | courier | http | remote_user | custom
  56. # Default: None
  57. # if setting 'htpasswd' the file /etc/radicale/users is used (hardcoded)
  58. # option type 'htpasswd'
  59. # Htpasswd encryption method
  60. # Value: plain | sha1 | ssha | crypt
  61. # option htpasswd_encryption 'crypt'
  62. # for other authenication methods consult Radicale documentation
  63. # and set options here
  64. ####################################################
  65. # Git default options
  66. #
  67. config setting 'git'
  68. # Git default options
  69. # option committer 'Radicale <radicale@example.com>'
  70. ####################################################
  71. # Rights backend
  72. #
  73. config setting 'rights'
  74. # Value: None | authenticated | owner_only | owner_write | from_file | custom
  75. # Default: None
  76. # if setting 'from_file' the file /etc/radicale/rights is used (hardcoded)
  77. # option type 'from_file'
  78. # Custom rights handler
  79. # option custom_handler ''
  80. ####################################################
  81. # Storage backend
  82. # -------
  83. # WARNING: ONLY "filesystem" IS DOCUMENTED AND TESTED,
  84. # OTHER BACKENDS ARE NOT READY FOR PRODUCTION.
  85. # -------
  86. #
  87. config setting 'storage'
  88. # Value: filesystem | multifilesystem | database | custom
  89. option type 'filesystem'
  90. option filesystem_folder '/srv/radicale'
  91. ####################################################
  92. # Additional HTTP headers
  93. #
  94. config setting 'headers'
  95. # enable all if using CardDavMATE-, CalDavZAP- or InfCloud- WEBclient
  96. # list Access_Control_Allow_Origin '*'
  97. # list Access_Control_Allow_Methods 'GET'
  98. # list Access_Control_Allow_Methods 'POST'
  99. # list Access_Control_Allow_Methods 'OPTIONS'
  100. # list Access_Control_Allow_Methods 'PROPFIND'
  101. # list Access_Control_Allow_Methods 'PROPPATCH'
  102. # list Access_Control_Allow_Methods 'REPORT'
  103. # list Access_Control_Allow_Methods 'PUT'
  104. # list Access_Control_Allow_Methods 'MOVE'
  105. # list Access_Control_Allow_Methods 'DELETE'
  106. # list Access_Control_Allow_Methods 'LOCK'
  107. # list Access_Control_Allow_Methods 'UNLOCK'
  108. # list Access_Control_Allow_Headers 'User-Agent'
  109. # list Access_Control_Allow_Headers 'Authorization'
  110. # list Access_Control_Allow_Headers 'Content-type'
  111. # list Access_Control_Allow_Headers 'Depth'
  112. # list Access_Control_Allow_Headers 'If-match'
  113. # list Access_Control_Allow_Headers 'If-None-Match'
  114. # list Access_Control_Allow_Headers 'Lock-Token'
  115. # list Access_Control_Allow_Headers 'Timeout'
  116. # list Access_Control_Allow_Headers 'Destination'
  117. # list Access_Control_Allow_Headers 'Overwrite'
  118. # list Access_Control_Allow_Headers 'X-client'
  119. # list Access_Control_Allow_Headers 'X-Requested-With'
  120. # list Access_Control_Expose_Headers 'Etag'
  121. ####################################################
  122. # Global logging options
  123. #
  124. config setting 'logging'
  125. # Set the default logging level to debug for all outputs (ignore output level settings)
  126. # Default: 0 (disabled)
  127. # option debug '1'
  128. # Log all environment variables (including those set in the shell) when starting
  129. # Default: 0 (disabled)
  130. # option full_environment '1'
  131. ####################################################
  132. # Spezial logging options
  133. # !!! not documented in Radicale documentation
  134. # !!! special settings for this implementation
  135. #
  136. config logging 'logger'
  137. # Level: DEBUG | INFO | WARNING | ERROR | CRITICAL
  138. # To nearly disable logging set level to critical
  139. # log level on console
  140. # option console_level 'ERROR'
  141. # Here we use Rotating Logfiles in this implementation
  142. # !!! if maxbytes and/or backupcount is set to 0 !!!
  143. # !!! file rotation is disabled and logfile grows endless !!!
  144. # log level
  145. # option file_level 'INFO'
  146. # directory where log files are written
  147. # option file_path '/var/log/radicale'
  148. # max size of each logfile (see warning above)
  149. # option file_maxbytes '8196'
  150. # number of backup files to create (see warning above)
  151. # option file_backupcount '1'
  152. # log level for syslog logging
  153. # option syslog_level 'WARNING'