-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad default values in configuration #427
Comments
This issue effect to Docker Compose demo docker logs demo_traefik_1 |
@erolg which version of traefik? |
@emilevauge, treafik:latest from docker hub docker images traefik
docker exec demo_traefik_1 /traefik version
|
Please update to the latest image :) this issue is solved. |
sorry I updated my image but forgot remove old container. |
I'm under the impression that the "defaultEntryPoint" is optional and if undefined it should fall back to "http". Based on this assumption I'd say that this issue still exists in the latest traefik binary - v1.2.3. I didn't have the defaultEntryPoint defined as "http" in the traefik.toml file and I was hooking up traefik to consulCatalog and didn't define the entryPoint in the consul service either. This is the error I got :- |
I can confirm the error in the docker-compose-demo (#427 (comment)) # Entrypoints to be used by frontends that do not specify any entrypoint.
# Each frontend can specify its own entrypoints.
#
# Optional
# Default: ["http"]
#
defaultEntryPoints = ["http"] it does not work with # Entrypoints to be used by frontends that do not specify any entrypoint.
# Each frontend can specify its own entrypoints.
#
# Optional
# Default: ["http"]
#
# defaultEntryPoints = ["http", "https"] |
Same here on latest version of traefik, if I don't specify |
I ran into the same issue using the docker image for the latest build. |
This issue isn't fixed. I still have to add |
@micaelmbagira Fixed in 1.5, see #2501 |
... what was released about 40 minutes ago. Thanks! :) Sorry for the spam! |
Default values for
EntryPoints
andDefaultEntryPoints
are not set correctly:https://github.com/containous/traefik/blob/master/traefik.go#L117
This ends up with error:
The text was updated successfully, but these errors were encountered: