aboutsummaryrefslogtreecommitdiff
path: root/consul/configuration/traefik/traefik.toml
diff options
context:
space:
mode:
Diffstat (limited to 'consul/configuration/traefik/traefik.toml')
-rw-r--r--consul/configuration/traefik/traefik.toml47
1 files changed, 47 insertions, 0 deletions
diff --git a/consul/configuration/traefik/traefik.toml b/consul/configuration/traefik/traefik.toml
new file mode 100644
index 0000000..ce50532
--- /dev/null
+++ b/consul/configuration/traefik/traefik.toml
@@ -0,0 +1,47 @@
+InsecureSkipVerify = true
+defaultEntryPoints = ["http", "https"]
+
+[entryPoints]
+ [entryPoints.admin]
+ address = ":8082"
+
+ [entryPoints.http]
+ address = ":80"
+ [entryPoints.http.redirect]
+ entryPoint = "https"
+
+ [entryPoints.https]
+ address = ":443"
+ compress = true
+ [entryPoints.https.tls]
+
+ [entryPoints.matrix]
+ address = ":8448"
+ compress = true
+ [entryPoints.matrix.tls]
+
+[retry]
+
+[acme]
+ email = "quentin@dufour.io"
+ storage = "traefik/acme/account"
+ entryPoint = "https"
+ onHostRule = true
+
+ [acme.httpChallenge]
+ entryPoint = "http"
+
+[api]
+ entryPoint = "admin"
+ dashboard = true
+
+[consul]
+ endpoint = "consul.service.2.cluster.deuxfleurs.fr:8500"
+ watch = true
+ prefix = "traefik"
+
+[consulCatalog]
+ endpoint = "consul.service.2.cluster.deuxfleurs.fr:8500"
+ prefix = "traefik"
+ domain = "web.deuxfleurs.fr"
+ exposedByDefault = false