Add shorter domain for whoami
All checks were successful
/ terraform (push) Successful in 1m1s
/ ansible (push) Successful in 1m31s

This commit is contained in:
Jake Howard 2024-09-22 15:01:55 +01:00
parent 3e355e6715
commit 4e07e1c8dc
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 12 additions and 1 deletions

View file

@ -4,7 +4,7 @@ services:
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.whoami.rule=Host(`whoami.theorangeone.net`) || Host(`whoami-cdn.theorangeone.net`)
- traefik.http.routers.whoami.rule=Host(`whoami.theorangeone.net`) || Host(`whoami-cdn.theorangeone.net`) || Host(`who.0rng.one`)
- traefik.http.routers.whoami-private.rule=Host(`whoami-private.theorangeone.net`)
- traefik.http.routers.whoami-private.middlewares=tailscale-only@file

View file

@ -21,3 +21,14 @@ resource "gandi_livedns_record" "orngone_caa" {
"0 issue \"letsencrypt.org\""
]
}
resource "gandi_livedns_record" "orngone_who" {
zone = gandi_livedns_domain.orngone.id
name = "who"
type = "CNAME"
ttl = 3600
values = [
"${cloudflare_record.sys_domain_pve.hostname}."
]
}