I have an Angular 2 app which I'm deploying to a Wildfly server (the rest endpoints are deployed to the same server on a different war). I just noticed that deep links, e.g. /app-name/users/2 will yield a 404 error, because Wildfly will try to serve a resource matching this URL instead of serving index.html and letting the angular application find and display the resource. Is there any way to set up web.xml to achieve this? Thanks in advance.