From 306ec076a75988b2470bd386b6d000f77608371c Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Mon, 8 Jul 2024 18:44:26 +0200 Subject: [PATCH] Update fallback host regex to work with traefik v3 --- job.nomad.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job.nomad.hcl b/job.nomad.hcl index a27c663..59cbb96 100644 --- a/job.nomad.hcl +++ b/job.nomad.hcl @@ -12,7 +12,7 @@ job "aaallt2" { provider = "nomad" tags = [ "traefik.enable=true", - "traefik.http.routers.aaallt2.rule=Host(`aaallt.datasektionen.se`)||HostRegexp(`{[^.]+}.datasektionen.se`)", + "traefik.http.routers.aaallt2.rule=Host(`aaallt.datasektionen.se`)||HostRegexp(`^[^.]+\\.datasektionen\\.se$`)", "traefik.http.routers.aaallt2.priority=1", "traefik.http.routers.aaallt2.tls.certresolver=default", ]