Skip to content

Commit

Permalink
cloudflare cname are now proxied, ttl must be set to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCardin committed Jul 4, 2024
1 parent 8da9af1 commit db5e861
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "cloudflare_record" "cname_argocd" {
value = var.dns
name = "argocd"
type = "CNAME"
ttl = 3600
ttl = 1
proxied = true
}

Expand All @@ -12,7 +12,7 @@ resource "cloudflare_record" "cname_trilium" {
value = var.dns
name = "trilium"
type = "CNAME"
ttl = 3600
ttl = 1
proxied = true
}

Expand All @@ -21,7 +21,7 @@ resource "cloudflare_record" "cname_ollama" {
value = var.dns
name = "ollama"
type = "CNAME"
ttl = 3600
ttl = 1
proxied = true
}

Expand All @@ -30,6 +30,6 @@ resource "cloudflare_record" "cname_ceph" {
value = var.dns
name = "ceph"
type = "CNAME"
ttl = 3600
ttl = 1
proxied = true
}

0 comments on commit db5e861

Please sign in to comment.