Skip to content

Commit

Permalink
change location regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
SergTyapkin committed Oct 2, 2024
1 parent 6b2c82a commit b0f2d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-deploy/nginx/locations/https/frontend.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
root /frontend-dist;
index index.html;

location ~* ^/api/?.* { # proxy to API
location ~* ^/api(/.*)? { # proxy to API
proxy_pass http://${API_HOST}:${API_PORT};
}
location / { # try files for SPA
Expand Down

0 comments on commit b0f2d53

Please sign in to comment.