Java ee servers allow deployment of multiple web applications in the same port, but only one can be deployed to root “/”. Then the others have a different “context”. In my example, this is “/internal”. So if I access my java ee server I have to go through “/internal/something…”. But when I configure caddy I put that “context” inside a virtual server, so now I can serve through caddy at root path “/” but redirect to the “/internal” to the upstream server. The problem is that the server isolates contexts sessions and uses cookies for that, in this case, setting a cookie under the “/internal” path. So, you will have a huge market of users who will use caddy if cookie path/domain can be rewritten just like URLs to the upstream server.