Add a new headerv1.0+

Configure the plugin to add a new header to the response before returning it to the client.

Set up the plugin

Add this section to your kong.yaml configuration file:

kong.yaml
_format_version: "3.0"
plugins:
  - name: response-transformer
    config:
      add:
        headers:
        - New-Header:Header Value

Did this doc help?

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!