well-known: Add host-meta files

This should allow the mint.lgbt XMPP server to comply with XEP-0156
This commit is contained in:
Lux Aliaga 2023-08-03 00:25:53 -04:00
parent 01301c593f
commit a043d5d693
Signed by: lux
GPG Key ID: 5A400026ED2F57FD
2 changed files with 19 additions and 0 deletions

7
.well-known/host-meta Normal file
View File

@ -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.mint.lgbt/http-bind" />
<Link rel="urn:xmpp:alt-connections:websocket"
href="wss://xmpp.mint.lgbt/xmpp-websocket" />
</XRD>

View File

@ -0,0 +1,12 @@
{
"links": [
{
"rel": "urn:xmpp:alt-connections:xbosh",
"href": "https://xmpp.mint.lgbt/http-bind"
},
{
"rel": "urn:xmpp:alt-connections:websocket",
"href": "wss://xmpp.mint.lgbt/xmpp-websocket"
}
]
}