jabber: add cors
This commit is contained in:
parent
f965c7042f
commit
8bf734c4ba
|
@ -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}/"
|
||||
|
|
Loading…
Reference in New Issue