Skip to content
Cloudflare Docs

Remove a request header

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

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

Text in Expression Editor:

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

Selected operation under Modify request header: Remove

Header name: cf-connecting-ip