Add shorter domain for whoami
This commit is contained in:
parent
3e355e6715
commit
4e07e1c8dc
2 changed files with 12 additions and 1 deletions
|
@ -4,7 +4,7 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- 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.rule=Host(`whoami-private.theorangeone.net`)
|
||||||
- traefik.http.routers.whoami-private.middlewares=tailscale-only@file
|
- traefik.http.routers.whoami-private.middlewares=tailscale-only@file
|
||||||
|
|
|
@ -21,3 +21,14 @@ resource "gandi_livedns_record" "orngone_caa" {
|
||||||
"0 issue \"letsencrypt.org\""
|
"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}."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue