It is a common use case where one would like to secure a legacy service that only handles http. Code such as mod_ssl for apache allows a reverse proxy with a https endpoint to authenticate requests. jEasy needs a small code change to handle this scenario. In ProxyFilter, there is the line
String url = request.getScheme() + "://" + server.getDomainName() + server.getPath() + uri;
where the getScheme call forces to have the same mode as the proxy. As a workaround I changed this to
// TDH Change so that https can reverse proxy for http
String url = server.getDomainName() + server.getPath() + uri;
and in data.xml added the scheme to the domainName field. This worked for my purpose.