| 1 |
# Config file for Calypso - A simple calendar server |
| 2 |
# |
| 3 |
# Place it into /etc/calypso/config (global) |
| 4 |
# or ~/.config/calypso/config (user) |
| 5 |
# |
| 6 |
# The current values are the default ones |
| 7 |
|
| 8 |
[server] |
| 9 |
# CalDAV server hostname, empty for all hostnames |
| 10 |
host = |
| 11 |
# CalDAV server port |
| 12 |
port = 5233 |
| 13 |
# Daemon flag |
| 14 |
daemon = False |
| 15 |
# SSL flag, enable HTTPS protocol |
| 16 |
ssl = False |
| 17 |
# SSL certificate path (if needed) |
| 18 |
certificate = /etc/apache2/ssl/server.crt |
| 19 |
# SSL private key (if needed) |
| 20 |
key = /etc/apache2/ssl/server.key |
| 21 |
# File to store the PID of the running calypso instance |
| 22 |
# pidfile = /var/run/calypso.pid |
| 23 |
# current user principal; path to the default collection for a user |
| 24 |
# for clients that use it (RFC5397) |
| 25 |
user_principal = /%(user)s |
| 26 |
# base URL if / is not the CalDAV root |
| 27 |
base_prefix = / |
| 28 |
|
| 29 |
[encoding] |
| 30 |
# Encoding for responding requests |
| 31 |
request = utf-8 |
| 32 |
# Encoding for storing local calendars |
| 33 |
stock = utf-8 |
| 34 |
|
| 35 |
[acl] |
| 36 |
# Access method |
| 37 |
# Value: fake | htpasswd | pam |
| 38 |
type = fake |
| 39 |
# Personal calendars only available for logged in users (if needed) |
| 40 |
personal = False |
| 41 |
# Htpasswd filename (if needed) |
| 42 |
filename = /etc/calypso/users |
| 43 |
# Htpasswd encryption method (if needed) |
| 44 |
# Value: plain | sha1 | crypt |
| 45 |
encryption = crypt |
| 46 |
# PAM service to use for authentication |
| 47 |
# pam_service = passwd |
| 48 |
|
| 49 |
[storage] |
| 50 |
# Folder for storing local calendars, |
| 51 |
# created if not present |
| 52 |
folder = ~/.config/calypso/calendars |
| 53 |
|
| 54 |
# The headers section allows verbatim addition of static headers to |
| 55 |
# responses. The following exemplary headers are useful when the calendar |
| 56 |
# should be accessed from users' web browsers using a web application hosted on |
| 57 |
# a different server. |
| 58 |
# |
| 59 |
#[headers] |
| 60 |
#Access-Control-Allow-Origin = * |
| 61 |
#Access-Control-Allow-Credentials = * |
| 62 |
#Access-Control-Allow-Methods = GET, POST, PUT, DELETE, PROPFIND, REPORT |
| 63 |
#Access-Control-Allow-Headers = accept, authorization, content-type, depth, x-client, if-match, if-none-match |
| 64 |
|
| 65 |
# vim:ft=cfg |