Manipulate Server Header in HTTPS Response
This document provides instructions on how to manipulate the server header value in an HTTPS response for requests to your load balancer. For more information on load balancers, see Proxy & Load Balancer.
The HTTP load balancer responds with the server response header value
volt-adc by default. You can set a response header using the header processing options for your load balancer and manipulate it with the server header response setting. For information on how to set the header processing, see HTTP Header Processing.
Using the instructions provided in this guide, you can do the following:
Set default response header value
Set a specific header value
Append a specific header value
Set to pass an existing header value
The following prerequisites apply:
An F5® Distributed Cloud Services Account. If you do not have an account, see Create an Account.
A load balancer acting as a proxy for a service. If you do not have a load balancer configured, see HTTP Load Balancer.
Perform the following steps in F5® Distributed Cloud Console (Console) to set the header processing:
Step 1: Navigate to your load balancer.
Log into Console.
Multi-Cloud App Connect.
HTTP Load Balancers.
- Find your load balancer and click
Step 2: Set server response header.
Basic Configurationsection, enable the
Show Advanced Fieldsoption.
Click in the
Server Header value to be used in responsemenu and configure per the following guidelines:
Default Value for Server headerto set the header value as
volt-adc. This is also set by default.
Server Nameto set a specific value. Enter the value in the
Append Server Name if absentto set a specific value if the server header is not already present. If it is already present, it is just passed. Set the value in the
Append Server Name if absentfield.
Pass existing Server headerto pass the server header that is already present. If it is absent, nothing is appended.
Note: You can set a response header in the
Advanced Configurationsection using the header processing options. Using server response header together with advanced configuration, you can modify or hide the server response headers for security purposes.
Step 3: Save changes.
Save and Exit to complete editing the load balancer.
Note: For more information on HTTP load balancer creation, see the HTTP Load Balancer guide.
Step 4: Verify the server header in the HTTP response.
Send an HTTP request using the domain you set in the HTTP load balancer. You can use command-line interface (CLI) tools, like cURL, to request.
Verify that the HTTP response includes the server header value per your load balancer configuration.