From ab3c72745612e8da9084b4022c69901922c04c0c Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sun, 4 Jun 2023 09:13:38 +0200 Subject: [PATCH] fix more_set_headers --- conf/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1e68862..5d9cbbb 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -95,12 +95,12 @@ location /.well-known/ { location /media/__sized__/ { alias __DATA_DIR__/data/media/__sized__/; - more_set_headers "Acces-Control-Allow-Origin '*'"; + more_set_headers 'Access-Control-Allow-Origin: *'; } location /media/attachments/ { alias __DATA_DIR__/data/media/attachments/; - more_set_headers "Access-Control-Allow-Origin '*'"; + more_set_headers 'Access-Control-Allow-Origin: *'; } # This is an internal location that is used to serve @@ -124,7 +124,7 @@ location /_protected/music/ { # Set this to the same value as your MUSIC_DIRECTORY_PATH setting internal; alias __DATA_DIR__/data/music/; - more_set_headers "Access-Control-Allow-Origin '*'"; + more_set_headers 'Access-Control-Allow-Origin: *'; } location /manifest.json {