diff options
author | Alex Auvolat <alex@adnab.me> | 2024-02-14 09:28:31 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-02-14 09:28:31 +0100 |
commit | f724e81239b119da298913728f3948ce1f2c4325 (patch) | |
tree | cc16fc93633966b3fb469bac3b208367120f3709 /cluster/prod/app/core/deploy | |
parent | 82500758f6a88a6f5faa0cf03159da7ed18ddfdc (diff) | |
download | nixcfg-f724e81239b119da298913728f3948ce1f2c4325.tar.gz nixcfg-f724e81239b119da298913728f3948ce1f2c4325.zip |
add automatic subdomains for v4 and v6 per site for dashboard
Diffstat (limited to 'cluster/prod/app/core/deploy')
-rw-r--r-- | cluster/prod/app/core/deploy/tricot.hcl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cluster/prod/app/core/deploy/tricot.hcl b/cluster/prod/app/core/deploy/tricot.hcl index ca1cd3f..2c0636f 100644 --- a/cluster/prod/app/core/deploy/tricot.hcl +++ b/cluster/prod/app/core/deploy/tricot.hcl @@ -87,7 +87,10 @@ EOH service { name = "tricot-http" port = "http_port" - tags = [ "(diplonat (tcp_port 80))", "${meta.site}" ] + tags = [ + "(diplonat (tcp_port 80))", + "${meta.site}" + ] address_mode = "host" } @@ -97,9 +100,12 @@ EOH tags = [ "(diplonat (tcp_port 443))", "${meta.site}", - "d53-aaaa ${meta.site}.site.deuxfleurs.fr", "d53-a global.site.deuxfleurs.fr", "d53-aaaa global.site.deuxfleurs.fr", + "d53-a ${meta.site}.site.deuxfleurs.fr", + "d53-aaaa ${meta.site}.site.deuxfleurs.fr", + "d53-a v4.${meta.site}.site.deuxfleurs.fr", + "d53-aaaa v6.${meta.site}.site.deuxfleurs.fr", ] address_mode = "host" } |