From a8f4bc3629ee8674fea56ad24cc421c37745f108 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 15 Feb 2019 13:59:50 +0100 Subject: nginx/matrix: Proxy well-known/matrix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nginx/matrix_kyriasis_com.sls | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nginx') 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: -- cgit v1.2.3-70-g09d2