Skip to content

Commit

Permalink
fix(nginx): troisieme tentative
Browse files Browse the repository at this point in the history
  • Loading branch information
ahonestla committed Feb 13, 2025
1 parent a5c5b1b commit 5b379f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5b379f1

Please sign in to comment.