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

Enable to define empty TLS option by flag for Let's Encrypt #488

Closed
Slashgear opened this issue Jun 29, 2016 · 1 comment
Closed

Enable to define empty TLS option by flag for Let's Encrypt #488

Slashgear opened this issue Jun 29, 2016 · 1 comment
Labels
Milestone

Comments

@Slashgear
Copy link
Contributor

Slashgear commented Jun 29, 2016

I wanted to configure traefik for my project only by flags, in order to limit my configuration file to a simple docker-compose.
This is an extract of my docker-compose file.

service-front:
labels:
- "traefik.backend=front"
- "traefik.port=80"
- "traefik.frontend.rule=Host:domain.com"
- "traefik.frontend.entryPoints=http,https"
image: kebuu/zenquizz-front:dev
traefik:
image: traefik
command: --web --docker --acme --acme.domains=domain.com --acme.email=test@traefik.io --entryPoints='Name:http Address::80 Redirect.EntryPoint:https' --entryPoints='Name:https Address::443 TLS' --acme.storagefile=acme.json --docker.domain=localhost --logLevel=DEBUG
ports:
- "80:80"
- "443:443"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /dev/null:/traefik.toml
- /opt/acme/acme.json:/acme.json
labels:
- "traefik.enable=false"

In my logs I could see that TLS option was not set:

"https":{"Network":"","Address":":443","TLS":null,"Redirect":null}}

@emilevauge emilevauge added this to the 1.0 milestone Jun 29, 2016
@emilevauge emilevauge added the bug label Jun 29, 2016
@ldez ldez added the kind/bug/confirmed a confirmed bug (reproducible). label Apr 29, 2017
@doctorpangloss

This comment has been minimized.

@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.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants