Skip to content

Commit

Permalink
Update fallback host regex to work with traefik v3
Browse files Browse the repository at this point in the history
  • Loading branch information
foodelevator committed Jul 8, 2024
1 parent e0fc914 commit 306ec07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion job.nomad.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand Down

0 comments on commit 306ec07

Please sign in to comment.