diff --git a/playbooks/prod_web.yml b/playbooks/prod_web.yml index 0077539..d7d9463 100755 --- a/playbooks/prod_web.yml +++ b/playbooks/prod_web.yml @@ -46,6 +46,15 @@ # desu.ltd - name: desu.ltd proxy_pass: http://desultd:80 + handles: + - handle: /.well-known/matrix/server + contents: | + header Content-Type application/json + respond `{"m.server":"matrix.desu.ltd:443"}` + - handle: /.well-known/matrix/client + contents: | + header Content-Type application/json + resond `{"m.homeserver":{"base_url":"https://matrix.desu.ltd"}}` - name: git.desu.ltd proxy_pass: http://gitea:3000 - name: nc.desu.ltd