Merge branch 'master' of ssh://pwan.org/var/www/git/projects/hgr
[hgr.git] / templates / radicale / config.erb
1 # -*- mode: conf -*-
2 # vim:ft=cfg
3
4 # Config file for Radicale - A simple calendar server
5 #
6 # Place it into /etc/radicale/config (global)
7 # or ~/.config/radicale/config (user)
8 #
9 # The commented out values are the defaults.
10
11
12 [server]
13 # CalDAV server hostnames separated by a comma
14 # IPv4 syntax: address:port
15 # IPv6 syntax: [address]:port
16 # IPv6 adresses are configured to only allow IPv6 connections
17 #hosts = 0.0.0.0:5232
18 # Daemon flag
19 #daemon = False
20 # File storing the PID in daemon mode
21 #pid =
22 # SSL flag, enable HTTPS protocol
23 #ssl = False
24 # SSL certificate path
25 certificate = /etc/ssl/certs/<%= scope.lookupvar('::fqdn') %>.pem
26 # SSL private key
27 key = /etc/ssl/private/<%= scope.lookupvar('::fqdn') %>.key
28 # Reverse DNS to resolve client address in logs
29 #dns_lookup = True
30
31
32 [encoding]
33 # Encoding for responding requests
34 #request = utf-8
35 # Encoding for storing local collections
36 #stock = utf-8
37
38 [acl]
39 # Access method
40 # Value: None | htpasswd | LDAP | PAM | courier
41 type = htpasswd
42
43 # Usernames used for public collections, separated by a comma
44 public_users = <%= radicale_public_users %>
45 # Usernames used for private collections, separated by a comma
46 private_users = <%= radicale_private_users %>
47
48 # Htpasswd filename
49 htpasswd_filename = /etc/radicale/users
50 # Htpasswd encryption method
51 # Value: plain | sha1 | crypt
52 htpasswd_encryption = crypt
53
54 # LDAP server URL, with protocol and port
55 #ldap_url = ldap://localhost:389/
56 # LDAP base path
57 #ldap_base = ou=users,dc=example,dC=COm
58 # LDAP login attribute
59 #ldap_attribute = uid
60 # LDAP filter string
61 # placed as X in a query of the form (&(...)X)
62 # example: (objectCategory=Person)(objectClass=User)(memberOf=cn=calenderusers,ou=users,dc=example,dc=org)
63 # leave empty if no additional filter is needed
64 #ldap_filter =
65 # LDAP dn for initial login, used if LDAP server does not allow anonymous searches
66 # Leave empty if searches are anonymous
67 #ldap_binddn =
68 # LDAP password for initial login, used with ldap_binddn
69 #ldap_password =
70 # LDAP scope of the search
71 #ldap_scope = OneLevel
72
73 # PAM group user should be member of
74 #pam_group_membership =
75
76 # Path to the Courier Authdaemon socket
77 #courier_socket =
78
79 [storage]
80 # Storage backend
81 #type = filesystem
82
83 # Folder for storing local collections, created if not present
84 filesystem_folder = /var/lib/radicale/collections
85
86
87 [logging]
88 # Logging configuration file
89 # If no config is given, simple information is printed on the standard output
90 # For more information about the syntax of the configuration file, see:
91 # http://docs.python.org/library/logging.config.html
92 #config = /etc/radicale/logging
93 # Set the default logging level to debug
94 #debug = False
95 # Store all environment variables (including those set in the shell)
96 #full_environment = False
97