aboutsummaryrefslogtreecommitdiff
path: root/nomad
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-01-14 08:33:58 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-01-14 08:33:58 +0100
commit3a5aa090d59ba6aa06ebbdc7c5f50b1d3707b575 (patch)
tree922e1992feeece69392193b5adff74f2a6045db2 /nomad
parent3431927ad5faf0f5d2da4fe78240e560196d5bd7 (diff)
downloadinfrastructure-3a5aa090d59ba6aa06ebbdc7c5f50b1d3707b575.tar.gz
infrastructure-3a5aa090d59ba6aa06ebbdc7c5f50b1d3707b575.zip
Upgrade Traefik + Config tweaking
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"