cloudflared: add most.viktorbarzin.me CNAME for Cloudflare Pages site
All checks were successful
ci/woodpecker/push/default Pipeline was successful
All checks were successful
ci/woodpecker/push/default Pipeline was successful
Viktor asked to host a static HTML site (the 'мост' school project, ОбУ „Отец Паисий", pulled from his Google Drive) on Cloudflare Pages with a custom domain, as a try-out of Pages hosting. The site content is deployed off-infra via wrangler to the Pages project 'most' (most-6if.pages.dev); this CNAME points most.viktorbarzin.me at it. The custom domain is already attached to the Pages project and is waiting on this DNS record to validate. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
be80ef23bb
commit
217a54be9d
2 changed files with 13 additions and 0 deletions
|
|
@ -235,6 +235,18 @@ resource "cloudflare_record" "keyserver" {
|
|||
zone_id = var.cloudflare_zone_id
|
||||
}
|
||||
|
||||
# Cloudflare Pages site "мост" (ОбУ „Отец Паисий“ school static site).
|
||||
# Content is deployed off-infra to the Pages project `most` via
|
||||
# `wrangler pages deploy`; this record just points the custom domain at it.
|
||||
resource "cloudflare_record" "most_pages" {
|
||||
content = "most-6if.pages.dev"
|
||||
name = "most"
|
||||
proxied = true
|
||||
ttl = 1
|
||||
type = "CNAME"
|
||||
zone_id = var.cloudflare_zone_id
|
||||
}
|
||||
|
||||
# Enable HTTP/3 (QUIC) for Cloudflare-proxied domains
|
||||
resource "cloudflare_zone_settings_override" "http3" {
|
||||
zone_id = var.cloudflare_zone_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue