From b251b9b48ffba3781079c06168fffaab080cfbc9 Mon Sep 17 00:00:00 2001 From: boban Date: Sun, 19 Apr 2026 00:13:02 +0200 Subject: [PATCH] Fix: CORS headers staging --- docker/nginx/staging.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/nginx/staging.conf b/docker/nginx/staging.conf index d2e10ed..f9c39ac 100644 --- a/docker/nginx/staging.conf +++ b/docker/nginx/staging.conf @@ -12,6 +12,13 @@ server { client_max_body_size 20M; + # CORS für Assets + add_header Access-Control-Allow-Origin "*" always; + add_header Access-Control-Allow-Methods + "GET, POST, OPTIONS" always; + add_header Access-Control-Allow-Headers + "Origin, Content-Type, Accept" always; + access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log;