diff --git a/nginx/snikket-common.template b/nginx/snikket-common.template index c446104..10e2b1c 100644 --- a/nginx/snikket-common.template +++ b/nginx/snikket-common.template @@ -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;