We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 00e36f5 + 7883310 commit f6381f2Copy full SHA for f6381f2
1 file changed
modules/playful-web/main.tf
@@ -69,6 +69,19 @@ resource "fastly_service_vcl" "cdn" {
69
name = "Generated by default compression policy"
70
}
71
72
+ dynamic "header" {
73
+ for_each = var.noindex ? [] : [1]
74
+ content {
75
+ action = "set"
76
+ destination = "http.Playful-Enable-Discoverability"
77
+ ignore_if_set = false
78
+ name = "Pass header to enable discoverability in prod"
79
+ priority = 100
80
+ source = "true"
81
+ type = "request"
82
+ }
83
84
+
85
header {
86
action = "set"
87
destination = "http.Strict-Transport-Security"
0 commit comments