From 5d567c20d0cc29a07998a404d87b5747d9941318 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Sun, 20 Jan 2019 17:49:33 +0800 Subject: [PATCH] Add host-meta for XMPP server Allows web clients to connect via websockets. --- .well-known/host-meta.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .well-known/host-meta.json diff --git a/.well-known/host-meta.json b/.well-known/host-meta.json new file mode 100644 index 0000000..160f091 --- /dev/null +++ b/.well-known/host-meta.json @@ -0,0 +1,12 @@ +{ + "links": [ + { + "rel": "urn:xmpp:alt-connections:xbosh", + "href": "https://xmpp.kosmos.org:5280/bosh" + }, + { + "rel": "urn:xmpp:alt-connections:websocket", + "href": "wss://xmpp.kosmos.org:5280/ws" + } + ] +}