How to give a 404 error if there is no page nginx + react.js

后端 未结 0 1946
忘了有多久
忘了有多久 2021-01-14 08:39

I use nginx + react.js Problem with handling 404 error. This method works try_files $ uri $ uri / index.html $ uri.html = 404; But if you go to the direct URL o

相关标签:
回答
  • 消灭零回复
提交回复
热议问题