diff --git a/hosts/jabber/default.nix b/hosts/jabber/default.nix index 1dd6f8d1..58d674d8 100644 --- a/hosts/jabber/default.nix +++ b/hosts/jabber/default.nix @@ -194,6 +194,14 @@ in -- How to get the IPv6 from config? external_addresses = { "${zentralwerk.lib.dns.publicIPv4}", "2a00:8180:2c00:282:e058:3ff:fea2:d83a", "${hostRegistry.jabber.ip4}", "${hostRegistry.jabber.ip6}" } trusted_proxies = { "127.0.0.1", "::1", "${hostRegistry.public-access-proxy.ip4}", "${hostRegistry.public-access-proxy.ip6}" } + http_cors_override = { + bosh = { + enabled = true; + }; + websocket = { + enabled = true; + }; + } http_default_host = "${domain}" http_host = "${domain}" http_external_url = "https://${domain}/"