summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Magnusson <mathias@magnusson.space>2024-10-19 21:50:22 +0200
committerMathias Magnusson <mathias@magnusson.space>2024-10-19 21:50:22 +0200
commitc6030a84030945f1800a9fe292298e1388e0e5d3 (patch)
treece0ddcf73cf0b44e455d4653d1cd0f3e40a9bf37
parent18963f77ec044c809cd98147b21e2a75c06a8d6a (diff)
downloadgarm-c6030a84030945f1800a9fe292298e1388e0e5d3.tar.gz
add ctftajm
-rw-r--r--jobs/traefik.nomad.hcl11
1 files changed, 11 insertions, 0 deletions
diff --git a/jobs/traefik.nomad.hcl b/jobs/traefik.nomad.hcl
index 8de6233..1107117 100644
--- a/jobs/traefik.nomad.hcl
+++ b/jobs/traefik.nomad.hcl
@@ -117,11 +117,22 @@ http:
tls:
certResolver: default
entrypoints: https
+ ctftajm:
+ rule: Host(`ctftajm.se`)||Host(`www.ctftajm.se`)
+ service: ctftajm
+ tls:
+ certResolver: default
+ entrypoints: https
middlewares:
auth:
basicAuth:
users:
- mathias:$2y$05$NvMwyf/U2jh9TCYdxj8JbeDhFMGPBDid2IypQPebx4rk5WLOwR1M2
+ services:
+ ctftajm:
+ loadBalancer:
+ servers:
+ - url: "http://garm:8008"
YAML
destination = "local/dynamic-conf.yaml"
}