diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2020-10-28 21:15:22 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2020-10-28 21:15:22 +0100 |
commit | d2298decc7f73331a5cddaa91d2c56d52d74f564 (patch) | |
tree | 6b9a272108d250242b0ac4e61b28306f361c63fa | |
parent | e18c5180d683600a4343becb184e43a9fe1756cb (diff) | |
download | pillar-d2298decc7f73331a5cddaa91d2c56d52d74f564.tar.xz |
Fix access to _synapse endpoints
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r-- | nginx/matrix_kyriasis_com.sls | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/nginx/matrix_kyriasis_com.sls b/nginx/matrix_kyriasis_com.sls index 11311f3..f0ddbec 100644 --- a/nginx/matrix_kyriasis_com.sls +++ b/nginx/matrix_kyriasis_com.sls @@ -7,9 +7,6 @@ nginx: - upstream matrix_backend: - server: 127.0.0.1:8449 - - upstream synapse_metrics: - - server: 127.0.0.1:9091 - - server: - server_name: matrix.kyriasis.com @@ -62,12 +59,11 @@ nginx: - proxy_set_header: X-Forwarded-For $remote_addr - proxy_set_header: Host $host - - location /_synapse: - - proxy_pass: http://synapse_metrics + - location /_synapse/: + - proxy_pass: https://matrix_backend - proxy_buffering: "off" - proxy_set_header: X-Forwarded-For $remote_addr - proxy_set_header: Host $host - - proxy_http_version: 1.1 - location /.well-known/acme-challenge: - root: /srv/http/ |