Wrong redirects when using Webmin/Virtualmin behind proxy

Hi all,

I want my customers to access webmin/virtualmin on a standard port, while keeping a safe alternative in case apache isn't running. Thus, Webmin is running on without SSL, and apache proxying it to port 443 with SSL encryption.

However, when Webmin redirects, it generates wrong URLs (which is to be expected). Instead of redirecting to http://host:10000/ the URL should read https://host/

Is there anything I could do to configure this? This issue keeps me from deploying this as standard config for all users. Kind regards,


Closed (duplicate)