Manipulate Server Header in HTTPS Response
This document provides instructions on how to manipulate server header value in 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 responsae header using the header processing options of load balancer and manipulate it with the server header response setting. For information on how to set 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 existing header value
The following prerequisites apply:
Note: If you do not have an account, see Create a Volterra Account.
A load balancer acting as a proxy for a service.
Note: If you do not have a load balancer configured, see HTTP Load Balancer.
Perform the following steps in VoltConsole to set header processing:
Step 1: Log into VoltConsole, navigate to your load balancer, and edit it.
- Change to your application namespace and navigate to
HTTP Load Balancersfrom the options and click
Editfor the load balancer for your application.
Step 2: Set server response header.
- Enable the
Show Advanced Fieldsoption.
Click on the
Server Header value to be used in responsefield and configure as 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 server header is not already present. In case 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 gets 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 purpose.
Step 3: Save changes to the load balancer configuration.
Save and Exit to complete creating 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 a HTTP request using domain you set in the HTTP load balancer. You can use tools like
- Verify that the HTTP response includes the server header value as per your load balancer configuration.