Description
When running a webapp with a reverse proxy, where the reverse proxy does the https:// thing but the webapp itself only runs on http://, then the baseUri that the RO viewer infers from the injected UriInfo (in ResourceAbstract) will have the incorrect baseUri.
public class ResourceAbstract { @javax.ws.rs.core.Context UriInfo uriInfo; ... }
There doesn't seem to be anyway to tell JAXRS that the webapp is running behind a reverse proxy, so i think that we'll need to provide some sort of config parameter to allow the baseUri (scheme, hostname and port) to be overridden if required.