All Products
Search
Document Center

:Parameters in response headers are deleted after requests are forwarded by a Layer 7 listener of CLB

Last Updated:May 06, 2023

Issue

After requests are forwarded by a Layer 7 listener of Classic Load Balancer (CLB), specific parameters in the response headers of the backend servers are deleted.

Cause

CLB modifies the values of the Date, Server, X-Pad, and X-Accel-Redirect parameters in the response headers to implement session persistence.

Solution

You can use one of the following methods to resolve the issue:

  • Add a prefix to the custom header, such as xl-server or xl-date.

  • Use a Layer 4 listener, such as a TCP listener.

Applicable scope

  • CLB