summaryrefslogtreecommitdiff
path: root/jobs/files.nomad.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/files.nomad.hcl')
-rw-r--r--jobs/files.nomad.hcl6
1 files changed, 4 insertions, 2 deletions
diff --git a/jobs/files.nomad.hcl b/jobs/files.nomad.hcl
index b5c63d5..28fa3a5 100644
--- a/jobs/files.nomad.hcl
+++ b/jobs/files.nomad.hcl
@@ -18,8 +18,10 @@ job "files" {
provider = "nomad"
tags = [
- "nginx.hostname=files.magnusson.space",
- "nginx.certname=magnusson.space",
+ "traefik.enable=true",
+ "traefik.http.routers.files.rule=Host(`files.magnusson.space`)",
+ "traefik.http.routers.files.entrypoints=https",
+ "traefik.http.routers.files.tls.certresolver=default",
]
}