---
title: 'Tutorial: Specify Custom HTTP Headers'
canonical: https://openvpn.net/as-docs/v3/tutorials/tutorial--custom-http-headers/
product: Access Server Docs
description: Following this tutorial, you can provide the web server with additional HTTP headers.
---

# Tutorial: Specify Custom HTTP Headers

## Overview

You can provide additional HTTP headers for Access Server's web server. This may be helpful when security scanners test the web interface and require specific headers to be present. You can set multiple headers by specifying multiple configuration keys.

> **Caution**
>
> These custom HTTP headers are not checked for validity. They also are not meant to override headers that Access Server already implements.

## Prerequisites

- An installed Access Server.
- Console access and the ability to get root access.

## Step 1: Set custom headers

1. Connect to the console and get root privileges.
2. Set two custom headers (adjust your command for your necessary headers — our example sets two of them):

   ```
   sacli --key "cs.http_headers.0" --value "Custom Header: one" ConfigPut
   sacli --key "cs.http_headers.1" --value "Another Header: one two three" ConfigPut
   sacli start
   ```

## Optional: Remove a custom header

1. Remove a custom header:

   ```
   sacli --key "cs.http_headers.0" ConfigDel
   sacli start
   ```

---

Prev: [Tutorial: Select the SSL and TLS Levels on the Web Server](https://openvpn.net/as-docs/v3/tutorials/tutorial--tls-web-server.md)
Next: [Tutorial: How to Set a Custom Web Server Name](https://openvpn.net/as-docs/v3/tutorials/tutorial--custom-web-server-name.md)
Index: https://openvpn.net/as-docs/llms.txt
