Skip to content

Commit

Permalink
workflows#6
Browse files Browse the repository at this point in the history
  • Loading branch information
folland87 committed Mar 21, 2024
1 parent b3fa47f commit a7cc576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ server {
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
}
location /api {
proxy_pass https://cluster-production.elasticsearch.dataesr.ovh;
location ~ ^/api/(.*)$ {
proxy_pass https://cluster-production.elasticsearch.dataesr.ovh/$1;
proxy_set_header Authorization 'Basic $API_KEY';
proxy_set_header Accept application/json;
proxy_set_header Content-Type application/json;
Expand Down

0 comments on commit a7cc576

Please sign in to comment.