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
try_files $ uri $ uri / index.html $ uri.html = 404;