I am trying to deply angular 8 app with routing in apache tomcat 9.
I have use ng build --prod --base-href=/ng-app/
to build distributables.
I am placing ng-app folder in webapps folder of tomcats. It renders localhost:8080/ng-app
properly but whenever I try to access localhost:8080/ng-app/users
it's giving me 404.
I understand from here that I need to configure fallback for angular in the app server, so that it redirects to index.html if any thing under ng-app/
is not found.
I came across configuration for apache http server, ngnix, etc. But I couldn't find same for apache tomcat 9.