My eventual goal is to use an existing Apache2 server that we use to reverse proxy to our development servers to also map to the web UI for the vm hosts behind our firewall as well.
I can get the proxy to load the page for a single server, and for the cluster (using a different config w/ a balancer), but I cannot get the paths to be rewritten. I have copied some examples directly from How to handle relative urls correctly with a reverse proxy without success.
I am trying to map https://dev.ourdomain.com/proxmox to https://10.2.7.101:8006.
ProxyPass /proxmox/ https://10.2.7.101:8006/
ProxyPassReverse /proxmox/ https://10.2.7.101:8006/
ProxyHTMLURLMap https://10.2.7.101:8006 /proxmox/
<Location /proxmox/>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap https://10.2.7.101:8006 /proxmox/
ProxyHTMLURLMap / /proxmox/
ProxyHTMLURLMap /proxmox/ /proxmox/
RequestHeader unset Accept-Encoding
</Location>
Can someone point out my (likely obvious) error?
Thank you in advance