Skip to content

Custom headers

A header customization system is available. By default, the list of custom headers is defined in the config/custom_header.json file.

Here is an example of a json file :

{
    "https://example.com": {
      "X-Custom-Header": "HeaderValue",
      "X-Another-Header": "AnotherValue"
    },
    "https://example2.com": {
      "X-Different-Header": "DifferentValue"
    }
  }

Warning

This feature is not available in the slim version.

Change the file path

You can change the path to the files containing custom headers. Here is the associated documentation, depending on your configuration.

Disable header customization

The header customization system is activated when the file is present. Simply do not create the header customization file.