1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/radicale_ynh.git synced 2024-09-03 20:16:14 +02:00
radicale_ynh/conf/config

192 lines
4.3 KiB
Text
Raw Normal View History

2015-01-15 17:21:39 +01:00
# -*- mode: conf -*-
# vim:ft=cfg
# Config file for Radicale - A simple calendar server
#
# Place it into /etc/radicale/config (global)
# or ~/.config/radicale/config (user)
#
# The current values are the default ones
2013-11-28 17:44:39 +01:00
[server]
2015-01-15 17:21:39 +01:00
2013-11-28 17:44:39 +01:00
# CalDAV server hostnames separated by a comma
# IPv4 syntax: address:port
# IPv6 syntax: [address]:port
2015-01-15 17:21:39 +01:00
# For example: 0.0.0.0:9999, [::]:9999
2013-11-28 17:44:39 +01:00
# IPv6 adresses are configured to only allow IPv6 connections
2015-01-15 17:21:39 +01:00
#hosts = 0.0.0.0:5232
2013-11-28 17:44:39 +01:00
# Daemon flag
2015-01-15 17:21:39 +01:00
#daemon = False
2013-11-28 17:44:39 +01:00
# File storing the PID in daemon mode
2015-01-15 17:21:39 +01:00
#pid =
2013-11-28 17:44:39 +01:00
# SSL flag, enable HTTPS protocol
2015-01-15 17:21:39 +01:00
#ssl = False
2013-11-28 17:44:39 +01:00
# SSL certificate path
2015-01-15 17:21:39 +01:00
#certificate = /etc/apache2/ssl/server.crt
2013-11-28 17:44:39 +01:00
# SSL private key
2015-01-15 17:21:39 +01:00
#key = /etc/apache2/ssl/server.key
# SSL Protocol used. See python's ssl module for available values
#protocol = PROTOCOL_SSLv23
# Ciphers available. See python's ssl module for available ciphers
#ciphers =
2013-11-28 17:44:39 +01:00
# Reverse DNS to resolve client address in logs
2015-09-16 15:23:34 +02:00
dns_lookup = True
2015-01-15 17:21:39 +01:00
2013-11-28 17:44:39 +01:00
# Root URL of Radicale (starting and ending with a slash)
2014-12-12 15:31:40 +01:00
base_prefix = CHANGEPATH
2015-01-15 17:21:39 +01:00
# Possibility to allow URLs cleaned by a HTTP server, without the base_prefix
#can_skip_base_prefix = False
2013-11-28 17:44:39 +01:00
# Message displayed in the client when a password is needed
2015-01-15 17:21:39 +01:00
#realm = Radicale - Password Required
2013-11-28 17:44:39 +01:00
[encoding]
2015-01-15 17:21:39 +01:00
2013-11-28 17:44:39 +01:00
# Encoding for responding requests
2015-09-16 15:23:34 +02:00
request = utf-8
2015-01-15 17:21:39 +01:00
2013-11-28 17:44:39 +01:00
# Encoding for storing local collections
2015-09-16 15:23:34 +02:00
stock = utf-8
2013-11-28 17:44:39 +01:00
2015-01-15 17:21:39 +01:00
[well-known]
# Path where /.well-known/caldav/ is redirected
#caldav = '/%(user)s/caldav/'
# Path where /.well-known/carddav/ is redirected
#carddav = '/%(user)s/carddav/'
2013-11-28 17:44:39 +01:00
[auth]
2015-01-15 17:21:39 +01:00
2013-11-28 17:44:39 +01:00
# Authentication method
2015-01-15 17:21:39 +01:00
# Value: None | htpasswd | IMAP | LDAP | PAM | courier | http | remote_user | custom
2013-11-28 17:44:39 +01:00
type = LDAP
2015-01-15 17:21:39 +01:00
# Custom authentication handler
#custom_handler =
2013-11-28 17:44:39 +01:00
# Htpasswd filename
2015-01-15 17:21:39 +01:00
#htpasswd_filename = /etc/radicale/users
2013-11-28 17:44:39 +01:00
# Htpasswd encryption method
2015-01-15 17:21:39 +01:00
# Value: plain | sha1 | ssha | crypt
#htpasswd_encryption = crypt
2013-11-28 17:44:39 +01:00
# LDAP server URL, with protocol and port
ldap_url = ldap://localhost:389/
2015-01-15 17:21:39 +01:00
2013-11-28 17:44:39 +01:00
# LDAP base path
ldap_base = ou=users,dc=yunohost,dc=org
2015-01-15 17:21:39 +01:00
2013-11-28 17:44:39 +01:00
# LDAP login attribute
ldap_attribute = uid
2015-01-15 17:21:39 +01:00
2013-11-28 17:44:39 +01:00
# LDAP filter string
# placed as X in a query of the form (&(...)X)
# example: (objectCategory=Person)(objectClass=User)(memberOf=cn=calenderusers,ou=users,dc=example,dc=org)
# leave empty if no additional filter is needed
2015-01-15 17:21:39 +01:00
ldap_filter =
2013-11-28 17:44:39 +01:00
# LDAP dn for initial login, used if LDAP server does not allow anonymous searches
# Leave empty if searches are anonymous
2015-01-16 13:27:46 +01:00
#ldap_binddn =
2015-01-15 17:21:39 +01:00
2013-11-28 17:44:39 +01:00
# LDAP password for initial login, used with ldap_binddn
2015-01-16 13:27:46 +01:00
#ldap_password =
2015-01-15 17:21:39 +01:00
2013-11-28 17:44:39 +01:00
# LDAP scope of the search
2015-01-16 13:27:46 +01:00
ldap_scope = OneLevel
2013-11-28 17:44:39 +01:00
# IMAP Configuration
2015-01-15 17:21:39 +01:00
#imap_hostname = localhost
#imap_port = 143
#imap_ssl = False
2013-11-28 17:44:39 +01:00
# PAM group user should be member of
2015-01-15 17:21:39 +01:00
#pam_group_membership =
2013-11-28 17:44:39 +01:00
# Path to the Courier Authdaemon socket
2015-01-15 17:21:39 +01:00
#courier_socket =
2013-11-28 17:44:39 +01:00
# HTTP authentication request URL endpoint
2015-01-15 17:21:39 +01:00
#http_url =
2013-11-28 17:44:39 +01:00
# POST parameter to use for username
2015-01-15 17:21:39 +01:00
#http_user_parameter =
2013-11-28 17:44:39 +01:00
# POST parameter to use for password
2015-01-15 17:21:39 +01:00
#http_password_parameter =
[git]
# Git default options
#committer = Radicale <radicale@example.com>
2013-11-28 17:44:39 +01:00
[rights]
2015-01-15 17:21:39 +01:00
# Rights backend
# Value: None | authenticated | owner_only | owner_write | from_file | custom
2015-01-14 10:49:46 +01:00
type = from_file
2014-12-12 15:24:04 +01:00
2015-01-15 17:21:39 +01:00
# Custom rights handler
#custom_handler =
2013-11-28 17:44:39 +01:00
# File for rights management from_file
2015-01-14 10:49:46 +01:00
file = /etc/radicale/rights
2013-11-28 17:44:39 +01:00
[storage]
2015-01-15 17:21:39 +01:00
2013-11-28 17:44:39 +01:00
# Storage backend
2015-01-15 17:21:39 +01:00
# -------
# WARNING: ONLY "filesystem" IS DOCUMENTED AND TESTED,
# OTHER BACKENDS ARE NOT READY FOR PRODUCTION.
# -------
# Value: filesystem | multifilesystem | database | custom
2015-09-16 15:23:34 +02:00
type = filesystem
2013-11-28 17:44:39 +01:00
2015-01-15 17:21:39 +01:00
# Custom storage handler
#custom_handler =
2013-11-28 17:44:39 +01:00
# Folder for storing local collections, created if not present
2015-09-16 15:23:34 +02:00
#filesystem_folder = /var/www/radicale/collections
2013-11-28 17:44:39 +01:00
# Database URL for SQLAlchemy
# dialect+driver://user:password@host/dbname[?key=value..]
# For example: sqlite:///var/db/radicale.db, postgresql://user:password@localhost/radicale
# See http://docs.sqlalchemy.org/en/rel_0_8/core/engines.html#sqlalchemy.create_engine
2015-01-15 17:21:39 +01:00
#database_url =
2013-11-28 17:44:39 +01:00
[logging]
2015-01-15 17:21:39 +01:00
2013-11-28 17:44:39 +01:00
# Logging configuration file
# If no config is given, simple information is printed on the standard output
# For more information about the syntax of the configuration file, see:
# http://docs.python.org/library/logging.config.html
2015-09-16 15:23:34 +02:00
config = /etc/radicale/logging
2013-11-28 17:44:39 +01:00
# Set the default logging level to debug
2015-09-16 15:23:34 +02:00
debug = False
2013-11-28 17:44:39 +01:00
# Store all environment variables (including those set in the shell)
2015-09-16 15:23:34 +02:00
full_environment = False
2013-11-28 17:44:39 +01:00
2015-01-15 17:21:39 +01:00
[headers]
2013-11-28 17:44:39 +01:00
# Additional HTTP headers
#Access-Control-Allow-Origin = *