From 26e23dbab101b42b105ef8e4ffd79b0c7d926f1d Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sat, 23 May 2020 17:25:29 +0200 Subject: Add diplonat for the frontend --- nomad/traefik.hcl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nomad') 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" -- cgit v1.2.3