telepath.im www.telepath.im { # Website root * /var/www/html/telepath file_server # XMPP host-meta header /.well-known/host-meta Access-Control-Allow-Origin "*" header /.well-known/host-meta.json Access-Control-Allow-Origin "*" header /.well-known/host-meta Content-Type application/xml header /.well-known/host-meta.json Content-Type application/json respond /.well-known/host-meta 200 { body ` ` } respond /.well-known/host-meta.json 200 { body `{"links":[{"rel":"urn:xmpp:alt-connections:xbosh","href":"https://hypertext.telepath.im/http-bind"},{"rel":"urn:xmpp:alt-connections:websocket/","href":"wss://hypertext.telepath.im/xmpp-websocket/"}]}` } } # XMPP HTTP stuff xmpp.telepath.im { reverse_proxy localhost:5280 } # XMPP HTTP file upload service hypertext.telepath.im { reverse_proxy localhost:5280 }