Hi,
I'm looking for information on how to correctly deploy an OpsCenter
instance behind a HTTP(S) proxy.
I have a running instance of OpsCenter 5.1 reachable at
http://opscenter:8888/opscenter/ but I would like to be able to
serve this kind of tool under a single hostname on HTTPS along with
other tools of this kind, for easier convenience.
I'm currently using Apache as my HTTP front-end and I tried this
naive configuration:
<VirtualHost *:80>
ServerName tools
...
ProxyPreserveHost On
######### Proxy to OpsCenter #########
ProxyPass /opscenter/ http://opscenter:8888/opscenter/
ProxyPassReverse /opscenter/ http://opscenter:8888/opscenter/
</VirtualHost>
This doesn't quite work, as OpsCenter seem to also serve specific
endpoints from / directly
Of course, it doesn't correctly work, as OpsCenter seem to also serve
specific data from / directly, such as:
/cluster-configs
/TestCluster
/meta
/rc
/tcp
Is there something I can configure in OpsCenter so that it serves these
URLs from somewhere else, or a list of known URLs that I can remap on
the proxy, or better yet, a known proxy configuration to put in front of
OpsCenter?
Regards,
Jonathan