summaryrefslogtreecommitdiffstats
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/matrix_kyriasis_com.sls2
1 files changed, 2 insertions, 0 deletions
diff --git a/nginx/matrix_kyriasis_com.sls b/nginx/matrix_kyriasis_com.sls
index 5f56fae..cec97da 100644
--- a/nginx/matrix_kyriasis_com.sls
+++ b/nginx/matrix_kyriasis_com.sls
@@ -61,7 +61,9 @@ nginx:
- proxy_buffering: "off"
- proxy_set_header: X-Forwarded-For $remote_addr
- proxy_set_header: Host $host
+ - proxy_hide_header: Access-Control-Allow-Origin
- add_header: "'Access-Control-Allow-Origin' '*'"
+ - proxy_hide_header: Access-Control-Allow-Methods
- add_header: "'Access-Control-Allow-Methods' 'GET, PUT, POST, DELETE, HEAD, OPTIONS'"
- location /_synapse: