summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2019-07-31 19:09:46 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2019-07-31 19:09:46 +0200
commit87027c7001ccac56fc0ceb305d146f37ab4b985f (patch)
tree459f411f9ce1f7fde5b3acfcf28be3f6a59d5aa3
parentae05001036d92e01f11d271d05c800ce1d3a278e (diff)
downloadpillar-87027c7001ccac56fc0ceb305d146f37ab4b985f.tar.xz
Turns out it's not necessary, and was due to another error..
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--nginx/matrix_kyriasis_com.sls3
1 files changed, 0 insertions, 3 deletions
diff --git a/nginx/matrix_kyriasis_com.sls b/nginx/matrix_kyriasis_com.sls
index 4182830..11311f3 100644
--- a/nginx/matrix_kyriasis_com.sls
+++ b/nginx/matrix_kyriasis_com.sls
@@ -61,9 +61,6 @@ nginx:
- proxy_buffering: "off"
- proxy_set_header: X-Forwarded-For $remote_addr
- proxy_set_header: Host $host
- - "if ($sent_http_access_control_allow_origin ~ '')":
- - add_header: "'Access-Control-Allow-Origin' '*'"
- - add_header: "'Access-Control-Allow-Methods' 'GET, PUT, POST, DELETE, HEAD, OPTIONS'"
- location /_synapse:
- proxy_pass: http://synapse_metrics