Skip to content

Commit

Permalink
Fix API location in nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
jvondermarck committed Apr 11, 2024
1 parent d490f71 commit c4ea8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ http {
try_files $uri $uri/ /index.html;
}

location ^~ /api {
location ~ ^/api {
proxy_pass http://127.0.0.1:3333;
rewrite /api/(.*) /$1 break;

Expand Down

0 comments on commit c4ea8e4

Please sign in to comment.