From 5713e9ebfb3b129c9180b776b60822be6f169592 Mon Sep 17 00:00:00 2001 From: yaso Date: Sat, 25 Jan 2025 13:07:39 +0200 Subject: [PATCH] . --- nginx/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 5b3a9a28..3ac6d400 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -161,7 +161,7 @@ http { add_header 'Access-Control-Allow-Origin' 'https://app.mzansi-innovation-hub.co.za' always; # add_header 'Access-Control-Allow-Credentials' 'true' always; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always; - add_header 'Access-Control-Allow-Headers' '*' always; + add_header 'Access-Control-Allow-Headers' '*'; add_header 'Access-Control-Max-Age' 1728000; return 204; } @@ -169,7 +169,7 @@ http { add_header 'Access-Control-Allow-Origin' 'https://app.mzansi-innovation-hub.co.za' always; # add_header 'Access-Control-Allow-Credentials' 'true' always; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always - add_header 'Access-Control-Allow-Headers' '*' always; + add_header 'Access-Control-Allow-Headers' '*'; proxy_pass http://MIH-AI:11434/api/;