What is the name of the domain?
exmaple.dev
What is the issue you’re encountering
enabling Add Leaked Credentials Checks Header
Was the site working with SSL prior to adding it to Cloudflare?
No
What is the current SSL/TLS setting?
Off
What are the steps to reproduce the issue?
Enable the Leaked Credentials Check detection (SYS-2xx2)
resource “cloudflare_leaked_credential_check” “leaked_credential_zone_dev” {
zone_id = cloudflare_zone.zone_dev.id
enabled = true
}
# Enable security headers using Managed Meaders
resource “cloudflare_managed_headers” “security_headers_zone_dev” {
zone_id = cloudflare_zone.zone_dev.id
// HTTP response headers section
managed_response_headers {
id = “add_security_headers”
enabled = true
}
}