Respect Proxy on Login Screen an in Webmin/Virtualmin generally

When I use Webmin/Virtualmin in a Proxy Environment Webmin/Virtualmin doesn't repect the proxy URL and shows the real Servername. For example when the server url is server.examle.org:xxxxx and the proxy vhost url is proxy.example.org it shows server.examle.org. Its the real Hostname. Thats correct, but not the proxy vhost . If I disable "show real hostname" in the gui it shows me the proxy ip for example 127.0.0.1.

But the expected behavior is that I can see the proxy vhost URL at the login screen.

Please fix it.

https://github.com/qooob/authentic-theme/issues/34#issuecomment-62298865

Status: 
Active

Comments

Is the original hostname even available to a server behind the proxy like Webmin would be in this case? I don't think there is a header for this .. but I may be wrong. I guess it depends on which proxy you are using.