dispatch/config.default.toml

73 lines
1.4 KiB
TOML

port = 80
verify_certificates = true
# Defaults for the client connect form
[defaults]
name = "Freenode"
host = "chat.freenode.net"
port = 6697
channels = [
"#dispatch",
"#go-nuts"
]
password = ""
ssl = true
# Only allow a nick to be filled in
readonly = false
# Show server and channel info when readonly is enabled
show_details = false
[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