Add Acces Controll Header to enable CORS
Had problems with CORS on my matrix clients, this fixed it for me.
This commit is contained in:
parent
8f28666916
commit
97ab11d4c8
|
@ -21,6 +21,7 @@
|
||||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||||
add_header X-Permitted-Cross-Domain-Policies none;
|
add_header X-Permitted-Cross-Domain-Policies none;
|
||||||
add_header Referrer-Policy strict-origin;
|
add_header Referrer-Policy strict-origin;
|
||||||
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue