Case:
User requests https://api.abc.com
This is reverse proxied (Apache 2.2) to an internal server server at http://internal.abc.com:123
As per Retain original request URL on mod_proxy redirect , by adding:
ProxyPreserveHost On
to httpd.conf, internal.abc.com currently recognizes the original request url as:
Is there any way for me to recover the original URL of https://api.abc.com ? That is, to also retain the original protocol (http) and port (80, or empty is also fine)