Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- defaultEntryPoints = ["http", "https"]
- [web]
- # Port for the status page
- address = ":8080"
- # Entrypoints, http and https
- [entryPoints]
- # http should be redirected to https
- [entryPoints.http]
- address = ":80"
- [entryPoints.http.redirect]
- entryPoint = "https"
- # https is the default
- [entryPoints.https]
- address = ":443"
- compress = true
- #[entryPoints.https.redirect]
- #regex = "^http://(.*)"
- #replacement = "https://$1"
- #permanent = true
- [entryPoints.https.tls]
- [web.statistics]
- recentErrors = 100
- # Enable ACME (Let's Encrypt): automatic SSL
- [acme]
- caServer = "https://acme-v02.api.letsencrypt.org/directory"
- # Email address used for registration
- email = "itdept@naturalswiss.ch"
- storage = "/etc/traefik/acme/acme.json"
- entryPoint = "https"
- onDemand = false
- OnHostRule = true
- # Use a HTTP-01 acme challenge rather than TLS-SNI-01 challenge
- [acme.httpChallenge]
- entryPoint = "http"
- [[acme.domains]]
- main = "*.naturalswiss.hu"
- sans = ["naturalswiss.hu","www.naturalswiss.hu"]
- [[acme.domains]]
- main = "*.naturalswiss.co.uk"
- sans = ["naturalswiss.co.uk","www.naturalswiss.co.uk"]
- [[acme.domains]]
- main = "*.naturalswiss.cz"
- sans = ["naturalswiss.cz","www.naturalswiss.cz"]
- [[acme.domains]]
- main = "*.naturalswiss.de"
- sans = ["naturalswiss.de","www.naturalswiss.de"]
- [[acme.domains]]
- main = "*.naturalswiss.it"
- sans = ["naturalswiss.it","www.naturalswiss.it"]
- [[acme.domains]]
- main = "*.naturalswiss.pl"
- sans = ["naturalswiss.pl","www.naturalswiss.pl"]
- [[acme.domains]]
- main = "*.naturalswiss.ro"
- sans = ["naturalswiss.ro","wwww.naturalswiss.ro"]
- [[acme.domains]]
- main = "www.naturalswiss.se"
- sans = ["naturalswiss.se","www.naturalswiss.se"]
- [[acme.domains]]
- main = "*.naturalswiss.sk"
- sans = ["naturalswiss.sk","www.naturalswiss.sk"]
- [[acme.domains]]
- main = "*.naturalswiss.fr"
- sans = ["naturalswiss.fr","www.naturalswiss.fr"]
- # Enable Docker configuration backend
- [docker]
- endpoint = "unix:///var/run/docker.sock"
- domain = "www.naturalswiss.hu"
- watch = true
- exposedByDefault = true
- swarmMode = true
- network = "infrastructure_traefik_web"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement