Manipulating the X-Forwarded-For header
Last updated 2017-05-08
You can control what happens to the X-Forwarded-For HTTP header via the Create a new request setting page on the Requests settings area of the Settings page. From the X-Forwarded-For menu, select one of the following behaviors:
- Append - Appends the client IP to the X-Forwarded-For header.
- Append All - Appends the client IP (and edge-cache IP, in case of shielding) to the X-Forwarded-For header. Creates the header if it does not exist yet.
- Clear - Clears the X-Forwarded-For header.
- Leave - Leaves the X-Forwarded-For header as is, if it is present.
- Overwrite - Overwrites the X-Forwarded-For header with just the client IP.
For more information about requests and responses, see our tutorial.