Trigger plugin on header

Block requests if a specific header exists in the request.

You can also combine config.trigger with the config.echo debugging parameter to avoid disturbing real traffic while debugging.

Environment variables

  • X_MY_HEADER: The name of the header that triggers the block.

Set up the plugin

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!