Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Fix for shielding flag with correct VCL condition #49

Merged
merged 2 commits into from
Oct 11, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion waflyctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ func WithShieldingCondition(client fastly.Client, serviceID string, version int,
Service: serviceID,
Version: version,
Name: "waf-soc-with-shielding",
Statement: "!req.backend.is_shield",
Statement: "waf.executed || fastly_info.state == \"HIT\"",
Type: "RESPONSE",
Priority: 10,
})
Expand Down