Traefik proxy to multiple local network machines + Let's Encrypt

Hello! I would like to make a setup with traefik with the following scenario:

I have my front machine which is available from the internet on 80,443 ports and I want to define this machine as a traefik proxy with Let's Encrypt enabled (with acme HTTP challenge) and as result to proxy from a subdomain to a particular host:port.


I already have CNET DNS records for particular subdomains but I'm stuck in the process of whole configuration, seems like has no tutorials for this kind of network structure on the internet. Help, please.