Migration from v1 to v2 FILE configuration help

I am migrating to V2 and have not been able to get a working FILE configuration. I am not using Docker. Here is my simplified FILE configuration. How would I configure this in V2?

Here is my v1 configuration:

address = ":80"[frontends]

entryPoints = ["http"]
backend = "backend_web"
passHostHeader = true
rule = "Host: abc.com"

method = "drr"
url = ""

And here is my attempted v2 migration:

address = ":80"

rule = "Host('abc.com')"
middlewares = ["auth"]
service = "my-service"

url = ""

users = [

Feel free to take a look at the migration tool that can help you migrating from v1 to v2.

I had already tried that. I should have included my migration using that tool. It is below and appears to not be complete:


address = ":80"

providersThrottleDuration = "2s"


Yes! Because middleware and router definition are done in the dynamic configuration.

Take a look at the migration guide on the doc for more help : Traefik v1 to v2 - Traefik

I will continue to try but i have worked from the page you reference and you see the results of my attempted migration in the above message and it does not work.

Indeed it seems that you miss matched dynamic configuration and static configuration


I will give it another couple of rounds using the documentation. I assume the only Provider I have is [providers.file] as I don't recognize the names of any of the other Provider terms.

Nope. I cannot find an explanation in the documentation on how to migrate a static configuration file to V2. Here is the sample static configuration file and I do not see how in this sample one can connect the entrypoint to any specific endpoint, if that is the correct terminology.