Disable IPv6 in default configuration

This commit is contained in:
Guillaume Ayoub 2011-04-02 21:49:48 +02:00
parent 9bab3cde5d
commit 48be062d38
2 changed files with 4 additions and 4 deletions

6
config
View File

@ -7,10 +7,10 @@
[server]
# CalDAV server hostnames separated by a comma
# IPv4: address:port
# IPv6: [address]:port
# IPv4 syntax: address:port
# IPv6 syntax: [address]:port
# IPv6 adresses are configured to only allow IPv6 connections
hosts = [::]:5232, 0.0.0.0:5232
hosts = 0.0.0.0:5232
# Daemon flag
daemon = False
# SSL flag, enable HTTPS protocol

View File

@ -39,7 +39,7 @@ except ImportError:
# Default configuration
INITIAL_CONFIG = {
"server": {
"hosts": "[::]:5232, 0.0.0.0:5232",
"hosts": "0.0.0.0:5232",
"daemon": "False",
"ssl": "False",
"certificate": "/etc/apache2/ssl/server.crt",