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 <<: *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

View file

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