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