but if we have a different location (since we may want to host other things here) then ours looks like
location /shiny {
This works fine and we are able to get to the landing page. When we try to launch an app, it looks for it in /app/appname without the shiny prefix and obviously fails. We’ve tried the proxy.landingPage and server.contextPath arguments with no luck
This shoud indeed be possible by using the server.contextPath setting, but there is a limitation: the context path must be the same before and behind the proxy. E.g.