Created
August 12, 2021 14:54
-
-
Save leventyalcin/2c9fec561d49c865455dd28062402ede to your computer and use it in GitHub Desktop.
Impossible to use Cloudflare provider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "cloudflare_zone" "site" { | |
zone = "leventyalcin.com" | |
plan = "free" | |
type = "full" | |
} | |
resource "cloudflare_page_rule" "site" { | |
zone_id = cloudflare_zone.site.id | |
priority = 1 | |
status = "active" | |
target = "https://leventyalcin.com/*" | |
actions { | |
always_online = "on" | |
always_use_https = true | |
browser_cache_ttl = "14400" | |
browser_check = "on" | |
ssl = "full" | |
minify { | |
css = "on" | |
html = "on" | |
js = "on" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment