aboutsummaryrefslogtreecommitdiff
path: root/nomad
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-05-23 17:25:29 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-05-23 17:25:29 +0200
commit26e23dbab101b42b105ef8e4ffd79b0c7d926f1d (patch)
tree6be6631e83c6958336dd1cb9b0e61b29d73e3fc9 /nomad
parent7c984ae02b7502305af0eced8b4b47732483e790 (diff)
downloadinfrastructure-26e23dbab101b42b105ef8e4ffd79b0c7d926f1d.tar.gz
infrastructure-26e23dbab101b42b105ef8e4ffd79b0c7d926f1d.zip
Add diplonat for the frontend
Diffstat (limited to 'nomad')
-rw-r--r--nomad/traefik.hcl6
1 files changed, 5 insertions, 1 deletions
diff --git a/nomad/traefik.hcl b/nomad/traefik.hcl
index 7f02dfb..a0803e4 100644
--- a/nomad/traefik.hcl
+++ b/nomad/traefik.hcl
@@ -35,7 +35,11 @@ job "frontend" {
}
service {
- tags = ["https", "frontend"]
+ tags = [
+ "https",
+ "frontend",
+ "(diplonat (tcp_port 80 443))"
+ ]
port = "https_port"
address_mode = "host"
name = "traefik"