Client-side Routing in Nginx
I’m building a docker image and the React app routing is not working. When I click on the "/about"
route, it gives the “404 Not Found in nginx/1.27.1 error”. It works fine with npm start
. I’m using React-Router V6.
I’m building a docker image and the React app routing is not working. When I click on the "/about"
route, it gives the “404 Not Found in nginx/1.27.1 error”. It works fine with npm start
. I’m using React-Router V6.