File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed
ngwaf-terraform-edge-deploy Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ terraform {
3
3
# https://registry.terraform.io/providers/signalsciences/sigsci/latest
4
4
sigsci = {
5
5
source = " signalsciences/sigsci"
6
- version = " >= 3.0 .0"
6
+ version = " >= 3.3 .0"
7
7
}
8
8
}
9
9
}
Original file line number Diff line number Diff line change @@ -24,6 +24,13 @@ resource "fastly_service_vcl" "frontend-vcl-service" {
24
24
# ### Adds the necessary header to enable response headers from the NGWAF edge deployment, which may then be used for logging.
25
25
# Also, removes the sensitive response headers before delivering the response to the client
26
26
27
+ snippet {
28
+ name = " Update for custom logo"
29
+ content = file (" ${ path . module } /vcl/custom_challenge_logo.vcl" )
30
+ type = " init"
31
+ priority = 100
32
+ }
33
+
27
34
snippet {
28
35
name = " Add ngwaf log headers"
29
36
content = file (" ${ path . module } /vcl/add_ngwaf_log_headers.vcl" )
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ terraform {
4
4
required_providers {
5
5
fastly = {
6
6
source = " fastly/fastly"
7
- version = " >= 5.2.2 "
7
+ version = " >= 5.11.0 "
8
8
}
9
9
sigsci = {
10
10
source = " signalsciences/sigsci"
11
- version = " >= 3.0 .0"
11
+ version = " >= 3.3 .0"
12
12
}
13
13
http = {
14
14
source = " hashicorp/http"
Original file line number Diff line number Diff line change
1
+ sub vcl_recv {
2
+ if (req.url ~ " /fastly/logo" ) {
3
+ set req.url = " /static-assets/challenge-robot.jpg" ;
4
+ }
5
+ }
You can’t perform that action at this time.
0 commit comments