From ae1896f5ce48630232c04efea75490a78610fe08 Mon Sep 17 00:00:00 2001 From: leath-dub Date: Thu, 5 Oct 2023 19:24:43 +0100 Subject: [PATCH] added env var for dynamic port ? --- jobs/nginx/anime-manga-soc.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/nginx/anime-manga-soc.hcl b/jobs/nginx/anime-manga-soc.hcl index b827003..ff554bf 100644 --- a/jobs/nginx/anime-manga-soc.hcl +++ b/jobs/nginx/anime-manga-soc.hcl @@ -30,7 +30,7 @@ job "nginx-ams" { "traefik.http.routers.nginx-ams.rule=Host(`amikon.me`,`www.amikon.me`)", "traefik.http.routers.nginx-ams.entrypoints=web,websecure", "traefik.http.routers.nginx-ams.tls.certresolver=lets-encrypt", - "traefik.http.routers.nginx-ams.loadbalancer.server.port=3000" + "traefik.http.routers.nginx-ams.loadbalancer.server.port=${NOMAD_PORT_http}" ] }