2018-08-21 22:31:29 +00:00
|
|
|
# IP address to listen on, leave empty to listen on anything
|
|
|
|
address = ""
|
2016-01-04 18:26:32 +00:00
|
|
|
port = 80
|
2018-08-10 18:24:29 +00:00
|
|
|
# Hex encode the users IP and use it as the ident
|
|
|
|
hexIP = false
|
2017-06-30 05:20:38 +00:00
|
|
|
verify_certificates = true
|
2020-05-03 15:00:41 +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]
|
2020-05-05 04:36:21 +00:00
|
|
|
name = "freenode"
|
2018-05-16 03:02:48 +00:00
|
|
|
host = "chat.freenode.net"
|
|
|
|
port = 6697
|
2016-01-14 06:08:15 +00:00
|
|
|
channels = [
|
2020-05-19 08:48:54 +00:00
|
|
|
"#dispatch"
|
2016-01-14 06:08:15 +00:00
|
|
|
]
|
2020-05-23 06:05:37 +00:00
|
|
|
server_password = ""
|
2016-01-25 00:01:37 +00:00
|
|
|
ssl = true
|
2018-04-14 23:02:28 +00:00
|
|
|
# Only allow a nick to be filled in
|
|
|
|
readonly = false
|
|
|
|
# Show server and channel info when readonly is enabled
|
|
|
|
show_details = false
|
2016-01-14 06:08:15 +00:00
|
|
|
|
2016-01-04 18:26:32 +00:00
|
|
|
[https]
|
2018-12-16 11:19:16 +00:00
|
|
|
enabled = true
|
2016-01-04 18:26:32 +00:00
|
|
|
port = 443
|
|
|
|
# Path to your cert and private key if you are not using
|
|
|
|
# the Let's Encrypt integration
|
|
|
|
cert = ""
|
|
|
|
key = ""
|
|
|
|
|
|
|
|
[letsencrypt]
|
2018-12-16 11:19:16 +00:00
|
|
|
# Your domain or subdomain, if not set a certificate will be
|
|
|
|
# fetched for whatever domain dispatch gets accessed through
|
2016-01-04 18:26:32 +00:00
|
|
|
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
|
|
|
|
|
2020-05-01 02:35:26 +00:00
|
|
|
[auth.providers.github]
|
2016-01-04 18:26:32 +00:00
|
|
|
key = ""
|
|
|
|
secret = ""
|
|
|
|
|
2020-05-01 02:35:26 +00:00
|
|
|
[auth.providers.facebook]
|
2016-01-04 18:26:32 +00:00
|
|
|
key = ""
|
|
|
|
secret = ""
|
|
|
|
|
2020-05-01 02:35:26 +00:00
|
|
|
[auth.providers.google]
|
2016-01-04 18:26:32 +00:00
|
|
|
key = ""
|
|
|
|
secret = ""
|
|
|
|
|
2020-05-01 02:35:26 +00:00
|
|
|
[auth.providers.twitter]
|
2016-01-04 18:26:32 +00:00
|
|
|
key = ""
|
|
|
|
secret = ""
|
2016-01-25 21:41:54 +00:00
|
|
|
|
2020-05-20 05:21:12 +00:00
|
|
|
[dcc]
|
|
|
|
# Receive files through DCC, the user gets to choose if they want to accept the file,
|
|
|
|
# the file then gets streamed to the user
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
[dcc.autoget]
|
|
|
|
# Instead of streaming the file to the user, dispatch automatically downloads
|
|
|
|
# DCC files and sends a download link to the user once its done
|
|
|
|
enabled = false
|
|
|
|
# Delete the file after the user has downloaded it once
|
|
|
|
delete = true
|
|
|
|
# Delete the file after a certain time period of inactivity, not implemented yet
|
|
|
|
delete_after = "30m"
|
|
|
|
|
2016-01-25 21:41:54 +00:00
|
|
|
# Strict-Transport-Security
|
|
|
|
[https.hsts]
|
|
|
|
enabled = false
|
|
|
|
max_age = 31536000
|
|
|
|
include_subdomains = false
|
|
|
|
preload = false
|
2018-12-20 10:51:31 +00:00
|
|
|
|
|
|
|
# Add your own HTTP headers to the index page
|
|
|
|
[headers]
|
|
|
|
# X-Example = "Rainbows"
|