If you want to run app in locally, you should set server_name as localhost or 127.0.0.1
When nginx proxy get request in http://localhost, nginx pass it to client(docker container). At this time, client get request with http://{server_name}:{client_port}. So client react-router cannot read
nginx/nginx.conf
Solution https://stackoverflow.com/questions/70010475/cant-access-sub-paths-on-nginx-react-router-behind-a-proxy
If you want to run app in locally, you should set server_name as localhost or 127.0.0.1 When nginx proxy get request in http://localhost, nginx pass it to client(docker container). At this time, client get request with http://{server_name}:{client_port}. So client react-router cannot read