Skip to content

Commit

Permalink
Merge pull request #118 from serlo/asset-proxy
Browse files Browse the repository at this point in the history
cloudflare: add subdomain for asset-proxy
  • Loading branch information
hugotiburtino authored Nov 5, 2024
2 parents bea7c88 + 251cc5f commit 34d3a04
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/cloudflare/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,12 @@ resource "cloudflare_record" "cname_enmeshed" {
type = "CNAME"
proxied = true
}

# asset-proxy
resource "cloudflare_record" "cname_asset_proxy" {
zone_id = var.zone_id
name = "asset-proxy"
value = var.domain
type = "CNAME"
proxied = true
}

0 comments on commit 34d3a04

Please sign in to comment.