I have IIS with URL Rewrites acting as a reverse proxy to Apache Tomcat.
example.com/app/ redirects to example.com:8080/app/. Port 80 redirects to port 8080 on the same server.
If I go to example.com/app/ it works as expected. However, if I go to example.com/app (without the trailing slash), it results in a 404 error.
The pattern I'm matching for the Inbound Rule is
^app/(.*). Then the action rewrites to the URL
Any suggestions on how to get this to work without the trailing slash?