Cloudflare Docs
Rules
Rules
Edit this page
Report an issue with this page
Log into the Cloudflare dashboard
Set theme to dark (⇧+D)

Remove a response header

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