summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-05-30 23:32:19 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-05-30 23:32:19 -0600
commitbda8405ebdf2cad9cd2f316d6e5371fece798353 (patch)
treee9e7a1d5d9ab15f06a0c4ad882bd919d74bd39dd
parentd01bcc92f5a32fefadf28fa26cf12ece731fe374 (diff)
add well-known data for matrix and xmpp
-rw-r--r--luevano/.well-known/host-meta7
-rw-r--r--luevano/.well-known/host-meta.json12
-rw-r--r--luevano/.well-known/matrix/server3
3 files changed, 22 insertions, 0 deletions
diff --git a/luevano/.well-known/host-meta b/luevano/.well-known/host-meta
new file mode 100644
index 0000000..ac26975
--- /dev/null
+++ b/luevano/.well-known/host-meta
@@ -0,0 +1,7 @@
+<?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="https://xmpp.luevano.xyz/http-bind" />
+ <Link rel="urn:xmpp:alt-connections:websocket"
+ href="wss://xmpp.luevano.xyz/xmpp-websocket" />
+</XRD>
diff --git a/luevano/.well-known/host-meta.json b/luevano/.well-known/host-meta.json
new file mode 100644
index 0000000..b8cb354
--- /dev/null
+++ b/luevano/.well-known/host-meta.json
@@ -0,0 +1,12 @@
+{
+ "links": [
+ {
+ "rel": "urn:xmpp:alt-connections:xbosh",
+ "href": "https://xmpp.luevano.xyz/http-bind"
+ },
+ {
+ "rel": "urn:xmpp:alt-connections:websocket",
+ "href": "wss://xmpp.luevano.xyz/xmpp-websocket"
+ }
+ ]
+}
diff --git a/luevano/.well-known/matrix/server b/luevano/.well-known/matrix/server
new file mode 100644
index 0000000..b166960
--- /dev/null
+++ b/luevano/.well-known/matrix/server
@@ -0,0 +1,3 @@
+{
+ "m.server": "matrix.luevano.xyz:8448"
+}