From 4096af64d6a102695e6ab2671d2ad07042540476 Mon Sep 17 00:00:00 2001 From: Robert Rapp Date: Thu, 17 Jul 2025 15:23:58 +0200 Subject: [PATCH] doch wieder singleqoutes --- nginx/conf.d/default.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/conf.d/default.conf.template b/nginx/conf.d/default.conf.template index 1c1f4ef..6187fb7 100644 --- a/nginx/conf.d/default.conf.template +++ b/nginx/conf.d/default.conf.template @@ -8,7 +8,7 @@ server { # ———————————————— Audio + CORS + Key-Check ———————————————— location ~* \.(opus|flac|ogg|mp3|wav|m4a|aac)$ { - if ($request_method = OPTIONS) { + if ($request_method = 'OPTIONS') { add_header Access-Control-Allow-Origin "*" always; add_header Access-Control-Allow-Methods "GET, HEAD, OPTIONS" always; add_header Access-Control-Allow-Headers "X-API-Key, Content-Type, Keep-Alive, User-Agent, Cache-Control" always;