Skip to content

Commit

Permalink
Merge pull request #170 from maykinmedia/fix/nginx-spa-routing
Browse files Browse the repository at this point in the history
🐛 [#169] Let react-router handle routes of single page app
  • Loading branch information
SilviaAmAm authored Jul 8, 2024
2 parents df5723e + 426c4e5 commit 6f74d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-nginx-default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ server {
proxy_set_header Host $http_host;
}

location = / {
location / {
try_files $uri $uri/ /static/frontend/index.html;
}
}

0 comments on commit 6f74d81

Please sign in to comment.