aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2019-06-30 18:11:25 -0500
committerMatt Rude <[email protected]>2019-06-30 18:11:25 -0500
commit14ac7382c934e7bc844cb18a022334789f27eab7 (patch)
tree405b5ec462bc0dc8b08e324b2afe700dca5bf2ec
parent93bd462a1cb30c56efe4558b707422faf37749af (diff)
downloadxmpp-site-lite-14ac7382c934e7bc844cb18a022334789f27eab7.tar.gz
xmpp-site-lite-14ac7382c934e7bc844cb18a022334789f27eab7.tar.bz2
xmpp-site-lite-14ac7382c934e7bc844cb18a022334789f27eab7.zip
Added host-meta
-rw-r--r--well-known/host-meta11
-rw-r--r--well-known/host-meta.json16
2 files changed, 27 insertions, 0 deletions
diff --git a/well-known/host-meta b/well-known/host-meta
new file mode 100644
index 0000000..f9d7fc3
--- /dev/null
+++ b/well-known/host-meta
@@ -0,0 +1,11 @@
+---
+path: /.well-known/host-meta
+---
+
+<?xml version='1.0' encoding='utf-8'?>
+<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
+ <Link rel="urn:xmpp:alt-connections:xbosh"
+ href="{{ site.url }}:5280/bosh" />
+ <Link rel="urn:xmpp:alt-connections:websocket"
+ href="wss://{{ site.baseurl }}:443/ws" />
+</XRD>
diff --git a/well-known/host-meta.json b/well-known/host-meta.json
new file mode 100644
index 0000000..53e356f
--- /dev/null
+++ b/well-known/host-meta.json
@@ -0,0 +1,16 @@
+---
+path: /.well-known/host-meta.json
+---
+
+{
+ "links": [
+ {
+ "rel": "urn:xmpp:alt-connections:xbosh",
+ "href": "{{ site.url }}:5280/bosh"
+ },
+ {
+ "rel": "urn:xmpp:alt-connections:websocket",
+ "href": "wss://{{ site.baseurl }}:443/ws"
+ }
+ ]
+}