We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24da674 commit 5df00afCopy full SHA for 5df00af
main.tf
@@ -54,6 +54,30 @@ resource "fastly_service_vcl" "files_service" {
54
source = "\"1\""
55
}
56
57
+ # Additional headers for content security & nosniff
58
+
59
+ header {
60
+ name = "Content security policy"
61
+ action = "set"
62
+ type = "request"
63
+ priority = 10
64
65
+ destination = "http.Content-Security-Policy"
66
+ source = "\"default-src 'none'; form-action 'none'\""
67
+ }
68
69
70
+ name = "Nosniff"
71
72
73
74
75
+ destination = "http.X-Content-Type-Options"
76
+ source = "\"nosniff\""
77
78
79
80
81
# Force TLS/HSTS settings
82
# Creates similar objects to what the GUI switch creates.
83
0 commit comments