@abiosoft that does the trick! even the redirect works with this configuration. The external address still have the “SpecficPath”, but the application works like a charm. The redirect is from a login filter.
@David_Hofmann I’m on the same situation you described on your post, working with a Java EE server (Wildfly 10 in this case). This configuration above might help.
Thanks for the support! Looking forward to use caddy as the main entrance web server here in the company.