Allow website to handle traffic to second domain

This commit is contained in:
Jake Howard 2022-11-16 14:56:17 +00:00
parent 330e7e9305
commit c91b1ba871
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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
}