These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Proxy and accessing https://<domain>:10000 on the new forum.
Due to work configuration on the proxy. I cannot access my domains control panel on https://
How would I go about setting up a proxy on my server that will let me load it still? I plan to lock down the proxy with .htaccess etc.
Actually thinking on this, there was a cPanel script to allow this for cPanel servers. You'd just go to cpanel. and it would do it all automatically.
How can I do this with virtualmin?
Actually. Using my meager understanding thought I might look at how to do this. I have a subdomain setup I'm not using atm so just ninja'd the pre-existing subdomain.
As a result here's the (slightly) modified code.
Problem is it's still calling "http://:10000/" somewhere and I can't quite make sense on how to make it work on https://:10000/
I am aware that the cpanel proxy prob won't even work for this out of the box... but. The fact I get a message saying "server is running in SSL Secure mode" when I access "https://hosting./" means... it is working to a degree.
You should also be able to setup a proxy within Virtualmin to do that... if you go into Server Configuration -> Edit Proxy Website, you should be able to proxy that particular Virtual Server to forward to Virtualmin.
That is, if you setup a Virtual Server named vm.example.com, and tell it to proxy connections to https://your_domain.com:10000, that should do what you're after.
Hurm - that seems more simple... :)
I'll have to do that tonight (can't get into SSL at work >.< )
Hurm - just did the change via my mobile and accessed it.
I get this
edit: ahh - redid as https:// and it worked.
AWESOME! thanks :)
I now get this when i try to go and edit the proxy config settings for another domain.
I have done as above and restarted httpd / webmin and still get the same message...
Hurm - I edited the /config file and set referrers=1 and now it works.
Here's what I did:
Now https://webmin.mydomain.com can be accessed even behind the most annoying firewalls!