Skip to content

Commit

Permalink
Use client.ip instead of req.http.Fastly-Client-IP for bank holidays …
Browse files Browse the repository at this point in the history
…rate limiter
  • Loading branch information
samsimpson1 committed Feb 3, 2025
1 parent 33ac657 commit 6625630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ resource "fastly_service_vcl" "service" {

uri_dictionary_name = "bankholidaysjson_ratelimiter"

client_key = "req.http.Fastly-Client-IP"
client_key = "client.ip"
http_methods = "GET,PUT,TRACE,POST,HEAD,DELETE,PATCH,OPTIONS"

action = "response"
Expand Down

0 comments on commit 6625630

Please sign in to comment.