summaryrefslogtreecommitdiffstats
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/matrix_kyriasis_com.sls6
1 files changed, 6 insertions, 0 deletions
diff --git a/nginx/matrix_kyriasis_com.sls b/nginx/matrix_kyriasis_com.sls
index aa42fac..3f24061 100644
--- a/nginx/matrix_kyriasis_com.sls
+++ b/nginx/matrix_kyriasis_com.sls
@@ -65,4 +65,10 @@ 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
+
# vim: ft=yaml et: