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/;