Add diplonat for the frontend

This commit is contained in:
Quentin 2020-05-23 17:25:29 +02:00
parent 7c984ae02b
commit 26e23dbab1

View file

@ -35,7 +35,11 @@ job "frontend" {
} }
service { service {
tags = ["https", "frontend"] tags = [
"https",
"frontend",
"(diplonat (tcp_port 80 443))"
]
port = "https_port" port = "https_port"
address_mode = "host" address_mode = "host"
name = "traefik" name = "traefik"