Add shorter domain for whoami container
This commit is contained in:
parent
7322adc52a
commit
7b0cc0893d
2 changed files with 9 additions and 1 deletions
|
@ -7,6 +7,6 @@ services:
|
|||
restart: unless-stopped
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.whoami.rule=Host(`whoami.theorangeone.net`)"
|
||||
- "traefik.http.routers.whoami.rule=Host(`whoami.theorangeone.net`) || Host(`who.0rng.one`)"
|
||||
- "traefik.http.routers.whoami.tls=true"
|
||||
- "traefik.http.routers.whoami.tls.certresolver=le"
|
||||
|
|
|
@ -17,3 +17,11 @@ resource "cloudflare_record" "orngone_yourls" {
|
|||
type = "A"
|
||||
ttl = 1
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "orngone_who" {
|
||||
zone_id = cloudflare_zone.orngone.id
|
||||
name = "who"
|
||||
value = vultr_server.casey.main_ip
|
||||
type = "A"
|
||||
ttl = 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue