Replies: 1 comment 1 reply
-
Figured it out. I was creating the middlewares.toml file in the wrong directory |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am unable to start up the container. I am following the traefik2 guide and starting with only traefik. In the docker logs I am getting the error:
2022-04-24T23:14:32.900304553Z time="2022-04-24T23:14:32Z" level=info msg="Configuration loaded from flags."
2022-04-24T23:14:35.508591200Z time="2022-04-24T23:14:35Z" level=error msg="middleware "chain-oauth@file" does not exist" entryPointName=https routerName=traefik-rtr@docker
I have created a middelwares.toml file in the traefik2/rules folder with the content below:
[http.middlewares]
[http.middlewares.chain-oauth]
[http.middlewares.chain-oauth.basicAuth]
users = [
"user:$apsdfswWvC/6.$E3FtsfTntPC0wVJ7IUVtX1",
]
Beta Was this translation helpful? Give feedback.
All reactions