From 7f579e9a9d45ddd85349f0544f927761577dd939 Mon Sep 17 00:00:00 2001 From: leath-dub Date: Thu, 5 Oct 2023 19:01:22 +0100 Subject: [PATCH] added traefik map to 3000 --- jobs/nginx/anime-manga-soc.hcl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jobs/nginx/anime-manga-soc.hcl b/jobs/nginx/anime-manga-soc.hcl index 8340bf7..32d0d7c 100644 --- a/jobs/nginx/anime-manga-soc.hcl +++ b/jobs/nginx/anime-manga-soc.hcl @@ -8,12 +8,10 @@ job "nginx-ams" { network { port "http" { - static = 80 to = 3000 } port "https" { - static = 443 to = 3000 } } @@ -32,6 +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=${NOMAD_PORT_http}" ] }