mirror of
https://github.com/tomsquest/docker-radicale.git
synced 2026-11-23 13:34:59 +00:00
* chore: prune config to only include essential settings * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * add CSP header, enable in the default Radicale config --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
31 lines
964 B
Text
31 lines
964 B
Text
[server]
|
|
|
|
# CalDAV server hostnames separated by a comma
|
|
# IPv4 syntax: address:port
|
|
# IPv6 syntax: [address]:port
|
|
# Hostname syntax (using "getaddrinfo" to resolve to IPv4/IPv6 adress(es)): hostname:port
|
|
# For example: 0.0.0.0:9999, [::]:9999, localhost:9999
|
|
#hosts = localhost:5232
|
|
hosts = 0.0.0.0:5232
|
|
|
|
[auth]
|
|
|
|
# Authentication method
|
|
# Value: none | htpasswd | remote_user | http_remote_user | http_x_remote_user | dovecot | ldap | oauth2 | pam | denyall
|
|
#type = denyall
|
|
type = none
|
|
|
|
[storage]
|
|
|
|
# Folder for storing local collections, created if not present
|
|
#filesystem_folder = /var/lib/radicale/collections
|
|
filesystem_folder = /data/collections
|
|
|
|
[headers]
|
|
|
|
# Set CSP to disallow execution of unknown javascript
|
|
# This may become the default in future versions, override if you need a different CSP.
|
|
#
|
|
# NOTE TOM: added this config until it becomes the default in future versions of Radicale.
|
|
#
|
|
Content-Security-Policy = default-src 'self'; object-src 'none'
|