Running nginx proxy on Proxmox node
i´m running a proxmox node with multiple VMs and containers. What i want to do is to setup a new container with a nextcloud installation. Im already running a VM with public IP address and nginx. This VM already handles multiple websites with virtual host config.
Additional i want to use this VM to forward a specific domain name (drive.mydomain.com) to my nextcloud container. On my proxmox node i created a network (10.20.30.0) which both of them know - The VM and my nextcloud container.
Now i need a configuration for my virtual host file which listens to drive.mydomain.com and forwards it to my nextcloud container (10.20.30.100) included the SSL traffic.
Does anyone has done this and can tell me where to look or maybe post an example configuration?