Advertise BOSH & WS endpoints via XEP-0156 HTTP method

Signed-off-by: Matthew Wild <mwild1@gmail.com>
This commit is contained in:
Kim Alvefur 2021-02-21 23:51:39 +01:00 committed by Matthew Wild
parent a118d53e0c
commit 60a29884f5
1 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,14 @@ location /xmpp-websocket {
try_files none @prosodyws;
}
location = /.well-known/host-meta {
try_files none @prosody;
}
location = /.well-known/host-meta.json {
try_files none @prosody;
}
location @portal {
proxy_pass http://${SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_HOST}:${SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_PORT};
proxy_set_header Host $host;