77 lines
1.5 KiB
TOML
77 lines
1.5 KiB
TOML
# IP address to listen on, leave empty to listen on anything
|
|
address = ""
|
|
port = 80
|
|
# Hex encode the users IP and use it as the ident
|
|
hexIP = false
|
|
verify_certificates = true
|
|
|
|
autoget = false
|
|
|
|
# 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 = true
|
|
port = 443
|
|
# Path to your cert and private key if you are not using
|
|
# the Let's Encrypt integration
|
|
cert = ""
|
|
key = ""
|
|
|
|
[letsencrypt]
|
|
# Your domain or subdomain, if not set a certificate will be
|
|
# fetched for whatever domain dispatch gets accessed through
|
|
domain = ""
|
|
# An email address lets you recover your accounts private key
|
|
email = ""
|
|
|
|
# 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.providers.github]
|
|
key = ""
|
|
secret = ""
|
|
|
|
[auth.providers.facebook]
|
|
key = ""
|
|
secret = ""
|
|
|
|
[auth.providers.google]
|
|
key = ""
|
|
secret = ""
|
|
|
|
[auth.providers.twitter]
|
|
key = ""
|
|
secret = ""
|
|
|
|
# Strict-Transport-Security
|
|
[https.hsts]
|
|
enabled = false
|
|
max_age = 31536000
|
|
include_subdomains = false
|
|
preload = false
|
|
|
|
# Add your own HTTP headers to the index page
|
|
[headers]
|
|
# X-Example = "Rainbows"
|