From 58730fcbebd085f65980f4db0cd3c2d3e15bedd7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 9 Oct 2022 18:26:49 +0100 Subject: [PATCH] Move pages hosting to GitLab pages --- ansible/roles/traefik/files/file-provider-gitlab.yml | 2 +- terraform/theorangeone.net.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/traefik/files/file-provider-gitlab.yml b/ansible/roles/traefik/files/file-provider-gitlab.yml index 2685a89..95e3f1f 100644 --- a/ansible/roles/traefik/files/file-provider-gitlab.yml +++ b/ansible/roles/traefik/files/file-provider-gitlab.yml @@ -7,7 +7,7 @@ http: rule: Host(`registry.git.theorangeone.net`) service: service-gitlab router-gitlab-pages: - rule: HostRegexp(`gitlab-pages.theorangeone.net`, `{subdomain:[a-z]+}.gitlab-pages.theorangeone.net`) + rule: HostRegexp(`gitlab-pages.theorangeone.net`, `{subdomain:[a-z]+}.gitlab-pages.theorangeone.net`, `notes.theorangeone.net`) service: service-gitlab-pages router-slides: rule: Host(`slides.jakehoward.tech`) diff --git a/terraform/theorangeone.net.tf b/terraform/theorangeone.net.tf index 344000a..0b26cdf 100644 --- a/terraform/theorangeone.net.tf +++ b/terraform/theorangeone.net.tf @@ -176,7 +176,7 @@ resource "cloudflare_record" "theorangeonenet_pages" { resource "cloudflare_record" "theorangeonenet_notes" { zone_id = cloudflare_zone.theorangeonenet.id name = "notes" - value = cloudflare_record.theorangeonenet_dokku.hostname + value = cloudflare_record.theorangeonenet_gitlab_pages.hostname type = "CNAME" ttl = 1 }