We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f513dd commit 6bd523cCopy full SHA for 6bd523c
client/nginx.conf
@@ -21,6 +21,8 @@ server {
21
client_max_body_size 10M;
22
}
23
location ~ ^/mistral/(.*)$ {
24
+ proxy_hide_header Access-Control-Allow-Origin;
25
+ add_header Access-Control-Allow-Origin "$http_origin" always;
26
proxy_pass https://api.mistral.ai/v1/$1;
27
proxy_set_header Authorization 'Bearer $MISTRAL_KEY';
28
proxy_set_header Accept application/json;
0 commit comments