Simple localhost with SSL without docker

I'm searching for hours, but i cannot find an official tutorial for my problem.
I've deployed an FastAPI app with gunicorn and it's running with localhost:9000. Now, i want to add SSL by using traefik reverse proxy functionality.
The problem is that every tutorial i find is with Docker. Can i find a simple tutorial?
In caddy i used something like:

localhost
reverse_proxy : 9000

and that's it. So, i guess there is something similar here.

See this example from the Traefik docs. Be aware that Traefik splits configuration into two parts:

  1. static (entrypoint, provider)
  2. dynamic (router, service)