Use Traefik as reverse proxy of WebDAV on host system

Hello everyone,

until now I use Traefik as reverse proxy for a few services that are all running on docker.
Now I want to use it to expose my WebDAV service that is running on the host system. As there is no docker container that I can put labels on I am wondering, how can I do that?

Any help or hint is appreciated.

Thank you and best regards

Define a router and service in a dynamic config file, load it in static config with providers.file. (Doc)

Thank you for the tip, that worked.
However, I seem to have to add the authentication to the host system. Do you by chance know how I can do that @bluepuma77 ?

Thank you and best regards

Declare a middleware in yml (doc) and assign it to the router (doc).