Take the 2-minute tour ×  Short Story Gah! I wish the developers
who did admin interfaces would expose a
"webroot=/myAppAppearsHere" option, or make all links relative.
Long Story  I have an admin portal for a customer that is
basically an apache mod_auth login and then a series of links on
to back-end admin pages like so;   and then a bunch of links
like so  https://portal.mysite.com/monitoring   ->
https://nagios.localdomain/nagios
https://portal.mysite.com/munin     ->
https://munin.localdomain/nagios
https://portal.mysite.com/bacukups     ->
https://backups.localdomain/backups  However there are a couple
of applications are that really not happy with being reverse
proxied to a subdirectory, for example chef-server-webui and the
logstash web interface.  ProxyPassReverse will remap the
headers, but all the internal absolute URLS need to be altered
and if there is no option for this in the app config, then this
has to be coerced into the HTML response.  The obvious tactic is
to create subdomains, or wildcar