I installed PMG as a LXC container in PVE. I'm not sure what will be the best solution for configuartion the access to the PMG web GUI (pve and pmg web gui using both port 8006). Any proprosal is welcome
Then just forward another port to the LXC container's port 8006. I do not think that the web application generates URLs that contain port number or host name.