Skip to content
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

Command line configuration issue #2797

Closed
Toub opened this issue Feb 3, 2018 · 1 comment
Closed

Command line configuration issue #2797

Toub opened this issue Feb 3, 2018 · 1 comment

Comments

@Toub
Copy link

Toub commented Feb 3, 2018

Do you want to request a feature or report a bug?

DOCUMENTATION ISSUE

What did you expect to see?

  1. The following example is wrong: https://docs.traefik.io/user-guide/cluster-docker-consul/
traefik \
    --entrypoints=Name:http Address::80 Redirect.EntryPoint:https \
    --entrypoints=Name:https Address::443 TLS \
    --defaultentrypoints=http,https

At least when using with "docker service create", the end of the line is not taken into account, but the following works:

traefik \
    --entrypoints='Name:http Address::80 Redirect.EntryPoint:https' \
    --entrypoints='Name:https Address::443 TLS' \
    --defaultentrypoints=http,https
  1. The documentation is not clear about how to use command line configuration.

A link to configuration.go would be useful:

# EntryPoints EntryPoints `description:"Entrypoints definition using format: 
--entryPoints='Name:http Address::8000 Redirect.EntryPoint:https' --entryPoints='Name:https Address::4442 TLS:tests/traefik.crt,tests/traefik.key;prod/traefik.crt,prod/traefik.key'" export:"true"`

What did you see instead?

Missing ' in the documentation + missing link to configuration.go

Output of traefik version: (What version of Traefik are you using?)

Documentation issue (and using last version: 1.5.1)

Do you want to request a feature or report a bug?

@traefiker
Copy link
Contributor

Closed by #2798.

@traefiker traefiker added this to the 1.5 milestone Feb 5, 2018
@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants