diff --git a/services/nomad/apps/devspace.nomad b/services/nomad/apps/devspace.nomad index 025ca30..dd71ee6 100644 --- a/services/nomad/apps/devspace.nomad +++ b/services/nomad/apps/devspace.nomad @@ -143,7 +143,7 @@ EOF } config { - image = "ghcr.io/void-linux/infra-nginx:20260531R1" + image = "ghcr.io/void-linux/infra-nginx:20261118R1" } template { diff --git a/services/nomad/apps/popcorn.nomad b/services/nomad/apps/popcorn.nomad index 5c05c4c..d42d2c3 100644 --- a/services/nomad/apps/popcorn.nomad +++ b/services/nomad/apps/popcorn.nomad @@ -32,7 +32,7 @@ job "popcorn" { driver = "docker" config { - image = "ghcr.io/void-linux/infra-nginx:20250719R1" + image = "ghcr.io/void-linux/infra-nginx:20261118R1" } template { diff --git a/services/nomad/infrastructure/nginx-control.nomad b/services/nomad/infrastructure/nginx-control.nomad index 2b62c75..a17c3f7 100644 --- a/services/nomad/infrastructure/nginx-control.nomad +++ b/services/nomad/infrastructure/nginx-control.nomad @@ -12,7 +12,7 @@ job "nginx-control" { driver = "docker" config { - image = "ghcr.io/void-linux/infra-nginx:20250719R1" + image = "ghcr.io/void-linux/infra-nginx:20261118R1" network_mode = "host" dns_servers = ["127.0.0.1"] } diff --git a/services/nomad/infrastructure/nginx-mirror.nomad b/services/nomad/infrastructure/nginx-mirror.nomad index 340f50b..a42f077 100644 --- a/services/nomad/infrastructure/nginx-mirror.nomad +++ b/services/nomad/infrastructure/nginx-mirror.nomad @@ -23,7 +23,7 @@ job "nginx" { driver = "docker" config { - image = "ghcr.io/void-linux/infra-nginx:20261026R1" + image = "ghcr.io/void-linux/infra-nginx:20261118R1" network_mode = "host" } diff --git a/services/nomad/infrastructure/nginx-sites/05-hashi.conf b/services/nomad/infrastructure/nginx-sites/05-hashi.conf index e20b94e..d1944b2 100644 --- a/services/nomad/infrastructure/nginx-sites/05-hashi.conf +++ b/services/nomad/infrastructure/nginx-sites/05-hashi.conf @@ -24,7 +24,7 @@ server { upstream nomad-ws { ip_hash; - server nomad.service.consul:4646; + server {{ env "attr.unique.network.ip-address" }}:4646; } server { @@ -49,6 +49,13 @@ server { location / { proxy_set_header Host $host; - proxy_pass http://active.vault.service.consul:8200; + proxy_pass http://vault; } } + +upstream vault { + ip_hash; + server 192.168.99.120:8200; + server 192.168.99.121:8200; + server 192.168.99.122:8200; +}