summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nginx/matrix_kyriasis_com.sls8
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/