I have a jetty application on http. My web hosting runs a reverse proxy on apache on https, which proxies to my jetty application (http).
browsing the first page (https://example.com/index.html) works, however when I click on a link, it falls back to http. (http://example.com/link.html, instead of https://example.com/link.html)
how to solve this? is it a configuration issue on apache (which should rewrite the urls), or is it a configuration in jetty (I should configure something such as the "canonical url" in jetty?)
actually I cannot change the configuration in apache (as only my webhosting provider has access to it), so I hope the issue can be solved on jetty. how to do so? note: my jetty needs to run on http (not on https), as defined by my webhosting provider.