-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
try_files functionality like nginx #900
Comments
A single sentence about a feature in some other server I don't know about isn't helpful. Please describe in detail the feature you're twisting l requesting. |
in react, access index page, like http://localhost/index.html, when click the menu and rout to another page like /mgt/supplierList, if I click the fresh button of the browser, 404 exists because the server side has no /mgt/supplierList, however, nginx has the try_files directive to solve this problem like below: if the uri not exists in server side, so redirect to /index.html |
spring.cloud.gateway.routes[13].id=index2 these lines do the thing for try_files, no need to implement now, thanks. |
try_files functionality like it in nginx to support react
The text was updated successfully, but these errors were encountered: