When deployed in a container based on cadc-tomcat, the following system props from catalina.properties could be used to construct the baseURL:
tomcat.connector.scheme=https
tomcat.connector.proxyName=proxy.example.net
tomcat.connector.proxyPort=443
The path components are still effected by the service name (and effects of war-rename.conf) and the endpoint name in the service's web.xml (servlet-mapping) but it could be possible to auto-configure the baseURL.
When deployed in a container based on cadc-tomcat, the following system props from catalina.properties could be used to construct the baseURL:
tomcat.connector.scheme=https
tomcat.connector.proxyName=proxy.example.net
tomcat.connector.proxyPort=443
The path components are still effected by the service name (and effects of war-rename.conf) and the endpoint name in the service's web.xml (servlet-mapping) but it could be possible to auto-configure the baseURL.