Skip to content

Commit

Permalink
Setting custom HSTS header on WAF blocked requests. (#1010)
Browse files Browse the repository at this point in the history
* Setting custom HSTS header on WAF blocked requests. Also adding missing variable to dev eks hcl

* fix formatting
  • Loading branch information
ben851 authored Nov 7, 2023
1 parent d7d308b commit e840674
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aws/eks/waf.tf
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@ resource "aws_wafv2_web_acl" "notification-canada-ca" {
block {
custom_response {
response_code = 204
response_header {
name = "Strict-Transport-Security"
value = "max-age=63072000; includeSubDomains; preload"
}
}
}
}
Expand Down

0 comments on commit e840674

Please sign in to comment.