Skip to content

Remove a request header

Create a request header modification rule (part of Transform Rules) to remove the cf-connecting-ip HTTP header from the request.

The following HTTP request header modification rule removes the cf-connecting-ip header from the request:

Text in Expression Editor:

starts_with(http.request.uri.path, "/private/")

Selected operation under Modify request header: Remove

Header name: cf-connecting-ip