From 5b379f1affc69ca4fe0c236c8411baa0fa844827 Mon Sep 17 00:00:00 2001 From: victor barbier Date: Thu, 13 Feb 2025 10:08:53 +0100 Subject: [PATCH] fix(nginx): troisieme tentative --- client/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/nginx.conf b/client/nginx.conf index bc1f4ee..b7005ca 100644 --- a/client/nginx.conf +++ b/client/nginx.conf @@ -22,7 +22,7 @@ server { } location ~ ^/mistral/(.*)$ { proxy_pass https://api.mistral.ai/v1/$1; - proxy_set_header Access-Control-Allow-Origin $http_origin + proxy_set_header Access-Control-Allow-Origin "$http_origin" proxy_set_header Authorization 'Bearer $MISTRAL_KEY'; proxy_set_header Accept application/json; proxy_set_header Content-Type application/json;