We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8dc8f71 + ab13015 commit 92e7698Copy full SHA for 92e7698
1 file changed
modules/playful-web/main.tf
@@ -77,11 +77,24 @@ resource "fastly_service_vcl" "cdn" {
77
ignore_if_set = false
78
name = "Pass header to enable discoverability in prod"
79
priority = 100
80
- source = "true"
+ source = "\"true\""
81
type = "request"
82
}
83
84
85
+ dynamic "header" {
86
+ for_each = var.noindex ? [] : [1]
87
+ content {
88
+ action = "set"
89
+ destination = "http.Playful-Enable-Discoverability"
90
+ ignore_if_set = false
91
+ name = "Pass header to enable discoverability in prod"
92
+ priority = 100
93
94
+ type = "cache"
95
+ }
96
97
+
98
header {
99
action = "set"
100
destination = "http.Strict-Transport-Security"
0 commit comments