I have the following setup: Docker Traefik managing SSL, reverse Proxying to multiple docker services: Nextcloud, Baserow. These services are accessed from the public internet. So https//nextcloud.domain.com, https//baserow.domain.com, etc. Each Docker container / service is also configured on an internal IP network.
Im trying to setup Wireguard VPN behind Traefik so that when I connect through the VPN Client I can still access https//nextcloud.domain.com through the internal IP.
Right now I've got DNS working with the VPN where when you connect to VPN I can ping nextcloud.domain.com and it resolves to the internal ip. I can also browse http//nextcloud.domain.com (internal ip). But I want to be able to browse https://nextcloud.domain.com (over internal) and have Traefik serve up SSL / redirect.
How can I make Traefik re-direct the VPN (internal IP) traffic to HTTPS for these services? I've already configured Wireguard label with UDP and Traefik configuration for UDP port 51820 with no luck. Is there anyway to confirm when I connect to the VPN it is actually routing through Traefik?
Any help would be much appreciated. Thanks