Not sure what you're trying to do exactly but I use a Caddy server to reverse proxy to my containers ip:port
Very convenient and it gives whatever container auto ssl. Adding a new container is adding the dns record and adding the line in Caddy and boom it's done