Skip to content

Remove a response header

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

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

Text in Expression Editor:

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

Selected operation under Modify response header: Remove

Header name: cf-connecting-ip