SYSTEM INFORMATION:
OS type and version: Rocky 9.1
Virtualmin version: 7.5 GPL
I have a TrueNAS running a handful of FreeBSD jails, each with their own web-based application, and a single jail running Caddy webserver acting as a proxy for the other jails / apps. At the moment, the Caddy server has several proxies set up to go to other apps / sites (i.e. - cloud.mydomain.net goes to a Nextcloud install, photos.mydomain.net goes to a Piwigo install, console.mydomain.net goes to the control panel for the TrueNAS, etc.). So far, so good.
Because the various apps are 1) already set up, and 2) file-size intensive, I’d prefer to keep them in the FreeBSD jails where storage and management is easier than building a new Host in Virtualmin and moving them over to it. (Also, I can’t move the control panel for the TrueNAS itself…).
What I am looking to do is set up the reverse proxies on my Virtualmin host, then take down the old Caddy server and move Virtualmin into its IP, keeping continuity for browsing / DNS. Before I can do this, I would like to set up the Reverse Proxies for the websites.
Looking in Virtualmin => Services => Configure Website, I can see there’s a UI to add a single proxy to the default site. My question is, is it possible to add multiple proxy sites?
cloud.mydomain.net => 10.0.0.242
photos.mydomain.net => 10.0.0.243
In an absolute pinch, I could move my various apps into Virtualmin hosts, but would prefer to avoid this if possible.
I did look this up prior to posting, which got me to the Proxy item in the Virtualmin GUI - the trick now is setting up more than one Proxy.
Thank you for the help and guidance!