aboutsummaryrefslogtreecommitdiff
path: root/nomad
diff options
context:
space:
mode:
Diffstat (limited to 'nomad')
-rw-r--r--nomad/traefik.hcl2
-rw-r--r--nomad/web_static.hcl4
2 files changed, 3 insertions, 3 deletions
diff --git a/nomad/traefik.hcl b/nomad/traefik.hcl
index f383090..8b9788e 100644
--- a/nomad/traefik.hcl
+++ b/nomad/traefik.hcl
@@ -7,7 +7,7 @@ job "frontend" {
driver = "docker"
config {
- image = "amd64/traefik:1.7.9"
+ image = "amd64/traefik:1.7.20"
readonly_rootfs = true
port_map {
https_port = 443
diff --git a/nomad/web_static.hcl b/nomad/web_static.hcl
index 27143a5..0dca948 100644
--- a/nomad/web_static.hcl
+++ b/nomad/web_static.hcl
@@ -28,8 +28,8 @@ job "web_static" {
tags = [
"webstatic",
"traefik.enable=true",
- "traefik.frontend.entryPoints=https",
- "traefik.frontend.rule=Host:deuxfleurs.fr,www.deuxfleurs.fr;Path:/,/robots.txt,/landing/arobase.png"
+ "traefik.frontend.entryPoints=https,http",
+ "traefik.frontend.rule=Host:deuxfleurs.fr,www.deuxfleurs.fr,deuxfleurs.org,www.deuxfleurs.org;Path:/,/robots.txt,/landing/arobase.png"
]
port = "web_port"
address_mode = "host"