summaryrefslogtreecommitdiffstats
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/matrix_kyriasis_com.sls8
1 files changed, 3 insertions, 5 deletions
diff --git a/nginx/matrix_kyriasis_com.sls b/nginx/matrix_kyriasis_com.sls
index 3f24061..8e9d38a 100644
--- a/nginx/matrix_kyriasis_com.sls
+++ b/nginx/matrix_kyriasis_com.sls
@@ -65,10 +65,8 @@ nginx:
- location /.well-known/acme-challenge:
- root: /srv/http/
- - location /.well-known/matrix/:
- - proxy_pass: https://matrix.kyriasis.com:8448
- - proxy_buffering: "off"
- - proxy_set_header: X-Forwarded-For $remote_addr
- - proxy_set_header: Host $host
+ - location /.well-known/matrix/client:
+ - default_type: application/json
+ - return: 200 '{"m.homeserver": {"base_url": "https://matrix.kyriasis.com:8448/"}}'
# vim: ft=yaml et: