diff options
-rw-r--r-- | nginx/matrix_kyriasis_com.sls | 3 |
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 |