jabber: add s2s tls, http_altdirect

This commit is contained in:
Sandro - 2023-10-12 22:40:40 +02:00
parent b2e9844c7b
commit 4d0686ce66
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 6 additions and 9 deletions

View File

@ -18,12 +18,13 @@ in
firewall = {
allowedTCPPorts = [
# Prosody
80
443
5222
5223
5269
80
5270
5280
443
5281
# Coturn
3478
@ -103,6 +104,7 @@ in
modules = {
# HTTP stuff
bosh = true;
http_altconnect = true;
http_files = true;
websocket = true;
@ -110,6 +112,7 @@ in
announce = true;
mam = true;
carbons = true;
# File-transfer proxies are an outdated technology
proxy65 = false;
server_contact_info = true;
};
@ -170,6 +173,7 @@ in
key = "/var/lib/acme/${domain}/key.pem",
certificate = "/var/lib/acme/${domain}/fullchain.pem",
}
s2s_direct_tls_ports = { 5270 }
certificates = "/var/lib/acme"
contact_info = {
@ -212,13 +216,6 @@ in
type = "turn";
};
};
-- File-transfer proxies are an outdated technology
-- Component "proxy65.${domain}" "proxy65"
-- proxy65_address = "proxy.${domain}"
-- proxy65_acl = { "${domain}" }
-- proxy65_interfaces = { "*", "::" }
-- proxy65_ports = { 5000 }
'';
};
};