Allow website to handle traffic to second domain
This commit is contained in:
parent
330e7e9305
commit
c91b1ba871
2 changed files with 9 additions and 1 deletions
|
@ -30,7 +30,7 @@ services:
|
|||
<<: *website
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.website.rule=Host(`theorangeone.net`)
|
||||
- traefik.http.routers.website.rule=Host(`theorangeone.net`) || Host(`jakehoward.tech`)
|
||||
networks:
|
||||
- default
|
||||
- traefik
|
||||
|
|
|
@ -202,3 +202,11 @@ resource "cloudflare_record" "jakehowardtech_matrix_admin" {
|
|||
type = "A"
|
||||
ttl = 1
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "jakehowardtech_apex" {
|
||||
zone_id = cloudflare_zone.jakehowardtech.id
|
||||
name = "@"
|
||||
value = vultr_instance.walker.main_ip
|
||||
type = "A"
|
||||
ttl = 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue