aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"