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.

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