dispatch/config.default.toml

68 lines
1.3 KiB
TOML
Raw Normal View History

2016-01-04 18:26:32 +00:00
port = 80
verify_certificates = true
2016-01-04 18:26:32 +00:00
2016-01-25 00:01:37 +00:00
# Defaults for the client connect form
2016-01-14 06:08:15 +00:00
[defaults]
name = "Freenode"
address = "chat.freenode.net"
channels = [
"#dispatch",
"#go-nuts"
]
2016-01-25 00:01:37 +00:00
password = ""
ssl = true
2016-01-14 06:08:15 +00:00
2016-01-04 18:26:32 +00:00
[https]
enabled = false
port = 443
# Redirect all http traffic to https
redirect = true
# Path to your cert and private key if you are not using
# the Let's Encrypt integration
cert = ""
key = ""
[letsencrypt]
# Your domain or subdomain
domain = ""
# An email address lets you recover your accounts private key
email = ""
# The port Let's Encrypt listens on, comment this out to let it bind
# to port 80 as needed, doing so means dispatch itself cannot use port 80
port = 5001
# Have dispatch proxy traffic from port 80 to the Let's Encrypt port
proxy = true
# Not implemented
[auth]
# Allow usage without being logged in, all channels and settings get
# transferred when logging in or registering
anonymous = true
# Enable username/password login
login = true
# Enable username/password registration
registration = true
[auth.github]
key = ""
secret = ""
[auth.facebook]
key = ""
secret = ""
[auth.google]
key = ""
secret = ""
[auth.twitter]
key = ""
secret = ""
# Strict-Transport-Security
[https.hsts]
enabled = false
max_age = 31536000
include_subdomains = false
preload = false