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
|
<<: *website
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.website.rule=Host(`theorangeone.net`)
|
- traefik.http.routers.website.rule=Host(`theorangeone.net`) || Host(`jakehoward.tech`)
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
- traefik
|
- traefik
|
||||||
|
|
|
@ -202,3 +202,11 @@ resource "cloudflare_record" "jakehowardtech_matrix_admin" {
|
||||||
type = "A"
|
type = "A"
|
||||||
ttl = 1
|
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