diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2019-02-15 13:59:50 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2019-02-15 13:59:50 +0100 |
commit | a8f4bc3629ee8674fea56ad24cc421c37745f108 (patch) | |
tree | 7bf617750542ba1071d345c8824f7e3c34320744 /nginx | |
parent | d87e9667852ad3fe4a6f81dff6ccba087b98b532 (diff) | |
download | pillar-a8f4bc3629ee8674fea56ad24cc421c37745f108.tar.xz |
nginx/matrix: Proxy well-known/matrix
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx')
-rw-r--r-- | nginx/matrix_kyriasis_com.sls | 6 |
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: |