diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf index 1a98d69..e1df794 100644 --- a/nginx/conf.d/default.conf +++ b/nginx/conf.d/default.conf @@ -4,6 +4,9 @@ server { listen [::]:80; location / { try_files $uri $uri/ =404; + add_header Access-Control-Allow-Origin "https://matrix-home.send.nrw"; + add_header Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, Authorization"; + add_header Access-Control-Allow-Credentials true; } location ~ \.php$ { fastcgi_pass 127.0.0.1:9000;