Add shorter domain for whoami container

This commit is contained in:
Jake Howard 2020-04-03 23:57:31 +01:00
parent 7322adc52a
commit 7b0cc0893d
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 9 additions and 1 deletions

View file

@ -7,6 +7,6 @@ services:
restart: unless-stopped restart: unless-stopped
labels: labels:
- "traefik.enable=true" - "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=true"
- "traefik.http.routers.whoami.tls.certresolver=le" - "traefik.http.routers.whoami.tls.certresolver=le"

View file

@ -17,3 +17,11 @@ resource "cloudflare_record" "orngone_yourls" {
type = "A" type = "A"
ttl = 1 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
}