We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
traefik version
Version: v1.1.2 Codename: camembert Go version: go1.7.4 Built: 2016-12-15_10:21:15AM OS/Arch: linux/amd64
1st docker-compose.yml
version: "2" services: traefik: image: traefik:v1.1.2-alpine ports: - "80:80" - "443:443" - "8080:8080" volumes: - /var/run/docker.sock:/var/run/docker.sock - /dev/null:/traefik.toml - ./ssl:/etc/traefik/ssl - ./acme:/etc/traefik/acme command: --web -c /dev/null --docker --logLevel=INFO --docker.watch --acme --acme.storage=/etc/traefik/acme/acme.json [email protected] --acme.entryPoint=https --entryPoints='Name:http Address::80' --entryPoints='Name:https Address::443 TLS' --defaultentrypoints=http,https --acme.domains="unstickers.com" restart: always environment: - "affinity:container!=traefik*" networks: - web networks: web: external: name: web
2nd docker-compose.yml
version: "2" services: unstickers: image: httpd:2.4-alpine expose: - 80 - 443 volumes: - ./data:/usr/local/apache2/htdocs/ labels: - "traefik.port=80" - "traefik.backend=unstickers" - "traefik.frontend.rule=Host:unstickers.com,www.unstickers.com" - "traefik.acme.domains=unstickers.com,www.unstickers.com" networks: - web networks: web: external: name: web
Creation of ACME certificate with unstickers.com AND www.unstickers.com.
Creation of ACME certificate with unstickers.com.
We can't configure ACME certificate outside of the main docker-compose.yml file, it's a design leak.
The text was updated successfully, but these errors were encountered:
you can with
config.toml
[acme] OnHostRule = true
And I guess
labels: - "traefik.acme.domains=unstickers.com,www.unstickers.com"
does not allowed
Sorry, something went wrong.
Thank you, it work's :)
No branches or pull requests
What version of Traefik are you using (
traefik version
)?What is your environment & configuration (arguments, toml...)?
1st docker-compose.yml
What did you do?
2nd docker-compose.yml
What did you expect to see?
Creation of ACME certificate with unstickers.com AND www.unstickers.com.
What did you see instead?
Creation of ACME certificate with unstickers.com.
We can't configure ACME certificate outside of the main docker-compose.yml file, it's a design leak.
The text was updated successfully, but these errors were encountered: