Skip to content

Commit

Permalink
Update traefik config
Browse files Browse the repository at this point in the history
  • Loading branch information
foodelevator committed Jul 8, 2024
1 parent caa44b6 commit 1e3498e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions job.nomad.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ job "taitan" {
port = "http"
provider = "nomad"
tags = [
"traefik-external.enable=true",
"traefik-external.http.routers.taitan-bawang.rule=Host(`taitan.datasektionen.se`)",
"traefik-external.http.routers.taitan-bawang.entrypoints=websecure",
"traefik-external.http.routers.taitan-bawang.tls.certresolver=default",
"traefik.enable=true",
"traefik.http.routers.taitan-bawang.rule=Host(`taitan.datasektionen.se`)",
"traefik.http.routers.taitan-bawang.tls.certresolver=default",

"traefik-internal.enable=true",
"traefik-internal.http.routers.taitan-bawang.rule=Host(`taitan.nomad.dsekt.internal`)",
"traefik.enable=true",
"traefik.http.routers.taitan-bawang-internal.rule=Host(`taitan.nomad.dsekt.internal`)",
"traefik.http.routers.taitan-bawang-internal.entrypoints=web-internal",
]
}

Expand Down Expand Up @@ -57,13 +57,13 @@ ENV
port = "http"
provider = "nomad"
tags = [
"traefik-external.enable=true",
"traefik-external.http.routers.taitan-styrdokument.rule=Host(`taitan-styrdokument.datasektionen.se`)",
"traefik-external.http.routers.taitan-styrdokument.entrypoints=websecure",
"traefik-external.http.routers.taitan-styrdokument.tls.certresolver=default",
"traefik.enable=true",
"traefik.http.routers.taitan-styrdokument.rule=Host(`taitan-styrdokument.datasektionen.se`)",
"traefik.http.routers.taitan-styrdokument.tls.certresolver=default",

"traefik-internal.enable=true",
"traefik-internal.http.routers.taitan-styrdokument.rule=Host(`taitan-styrdokument.nomad.dsekt.internal`)",
"traefik.enable=true",
"traefik.http.routers.taitan-styrdokument-internal.rule=Host(`taitan-styrdokument.nomad.dsekt.internal`)",
"traefik.http.routers.taitan-styrdokument-internal.entrypoints=web-internal",
]
}

Expand Down

0 comments on commit 1e3498e

Please sign in to comment.