This commit also allows users to specify all the config values through the command line. Fix #154.
		
			
				
	
	
		
			143 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			143 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# -*- 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
 | 
						|
 | 
						|
 | 
						|
[server]
 | 
						|
 | 
						|
# CalDAV server hostnames separated by a comma
 | 
						|
# IPv4 syntax: address:port
 | 
						|
# IPv6 syntax: [address]:port
 | 
						|
# For example: 0.0.0.0:9999, [::]:9999
 | 
						|
# IPv6 adresses are configured to only allow IPv6 connections
 | 
						|
#hosts = 0.0.0.0:5232
 | 
						|
 | 
						|
# Daemon flag
 | 
						|
#daemon = False
 | 
						|
 | 
						|
# File storing the PID in daemon mode
 | 
						|
#pid =
 | 
						|
 | 
						|
# Max parallel connections
 | 
						|
#max_connections = 20
 | 
						|
 | 
						|
# Max size of request body (bytes)
 | 
						|
#max_content_length = 10000000
 | 
						|
 | 
						|
# Socket timeout (seconds)
 | 
						|
#timeout = 10
 | 
						|
 | 
						|
# SSL flag, enable HTTPS protocol
 | 
						|
#ssl = False
 | 
						|
 | 
						|
# SSL certificate path
 | 
						|
#certificate = /etc/apache2/ssl/server.crt
 | 
						|
 | 
						|
# SSL private key
 | 
						|
#key = /etc/apache2/ssl/server.key
 | 
						|
 | 
						|
# SSL Protocol used. See python's ssl module for available values
 | 
						|
#protocol = PROTOCOL_SSLv23
 | 
						|
 | 
						|
# Available ciphers. See python's ssl module for available ciphers
 | 
						|
#ciphers =
 | 
						|
 | 
						|
# Reverse DNS to resolve client address in logs
 | 
						|
#dns_lookup = True
 | 
						|
 | 
						|
# Root URL of Radicale (starting and ending with a slash)
 | 
						|
#base_prefix = /
 | 
						|
 | 
						|
# Possibility to allow URLs cleaned by a HTTP server, without the base_prefix
 | 
						|
#can_skip_base_prefix = False
 | 
						|
 | 
						|
# Message displayed in the client when a password is needed
 | 
						|
#realm = Radicale - Password Required
 | 
						|
 | 
						|
 | 
						|
[encoding]
 | 
						|
 | 
						|
# Encoding for responding requests
 | 
						|
#request = utf-8
 | 
						|
 | 
						|
# Encoding for storing local collections
 | 
						|
#stock = utf-8
 | 
						|
 | 
						|
 | 
						|
[auth]
 | 
						|
 | 
						|
# Authentication method
 | 
						|
# Value: None | htpasswd
 | 
						|
#type = None
 | 
						|
 | 
						|
# Htpasswd filename
 | 
						|
#htpasswd_filename = /etc/radicale/users
 | 
						|
 | 
						|
# Htpasswd encryption method
 | 
						|
# Value: plain | sha1 | ssha | crypt | bcrypt | md5
 | 
						|
#htpasswd_encryption = crypt
 | 
						|
 | 
						|
 | 
						|
[rights]
 | 
						|
 | 
						|
# Rights backend
 | 
						|
# Value: None | authenticated | owner_only | owner_write | from_file
 | 
						|
#type = None
 | 
						|
 | 
						|
# File for rights management from_file
 | 
						|
#file = ~/.config/radicale/rights
 | 
						|
 | 
						|
 | 
						|
[storage]
 | 
						|
 | 
						|
# Storage backend
 | 
						|
# Value: multifilesystem
 | 
						|
#type = filesystem
 | 
						|
 | 
						|
# Folder for storing local collections, created if not present
 | 
						|
#filesystem_folder = ~/.config/radicale/collections
 | 
						|
 | 
						|
# Sync all changes to disk during requests. (This can impair performance.)
 | 
						|
# Disabling it increases the risk of data loss, when the system crashes or
 | 
						|
# power fails!
 | 
						|
#filesystem_fsync = True
 | 
						|
 | 
						|
# Close the lock file when no more clients are waiting.
 | 
						|
# This option is not very useful in general, but on Windows files that are
 | 
						|
# opened cannot be deleted.
 | 
						|
#filesystem_close_lock_file = False
 | 
						|
 | 
						|
# Command that is run after changes to storage
 | 
						|
# Example: git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
 | 
						|
#hook =
 | 
						|
 | 
						|
 | 
						|
[logging]
 | 
						|
 | 
						|
# 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
 | 
						|
#config = /etc/radicale/logging
 | 
						|
 | 
						|
# Set the default logging level to debug
 | 
						|
#debug = False
 | 
						|
 | 
						|
# Store all environment variables (including those set in the shell)
 | 
						|
#full_environment = False
 | 
						|
 | 
						|
# Don't include passwords in logs
 | 
						|
#mask_passwords = True
 | 
						|
 | 
						|
 | 
						|
[headers]
 | 
						|
 | 
						|
# Additional HTTP headers
 | 
						|
#Access-Control-Allow-Origin = *
 |