diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2019-07-31 18:55:21 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2019-07-31 18:55:21 +0200 |
commit | c8414824c0d14f835b2550a49952ea142aa985fb (patch) | |
tree | ef899a919612bd4f210850b1a9f9ee93cda006b6 | |
parent | 7f471a6682b269d5c59cefb11517d1403efa47d0 (diff) | |
download | pillar-c8414824c0d14f835b2550a49952ea142aa985fb.tar.xz |
matrix: Set ACAO/ACAM
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r-- | nginx/matrix_kyriasis_com.sls | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nginx/matrix_kyriasis_com.sls b/nginx/matrix_kyriasis_com.sls index 11311f3..5f56fae 100644 --- a/nginx/matrix_kyriasis_com.sls +++ b/nginx/matrix_kyriasis_com.sls @@ -61,6 +61,8 @@ nginx: - proxy_buffering: "off" - proxy_set_header: X-Forwarded-For $remote_addr - proxy_set_header: Host $host + - 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 |