Container expecting HTTPs traffic, how do I ensure a TLS connection between Traefik and the end container?

Many new containers provide ports for either HTTP and HTTPS traffic. However I'm having an issue with this self-hostable Unifi controller.

https://docs.linuxserver.io/images/docker-unifi-controller

The port 8443 will error out if traffic received is HTTP (the default between Traefik and containers). Is there a way for Traefik to use internal HTTPS when forwarding requests to containers? I read through the docs but I may not be reading for the correct parameters / I'm uncertain what this is called.

Have a search in the community here, there was a post about unifi recently.

Does your backend offer a HTTPS certificate? Like an own? Which provider are you using for dynamic configuration in Traefik?