Configure Policy Chain

December 5, 2017 ยท View on GitHub

Environment configuration can define the global policy chain. You can provide custom chain or insert policies to the default one.

Using Echo Policy

Echo policy accepts configuration option to terminate the request phase. See the example in configuration.lua.

You can start it as:

ECHO_STATUS=202 bin/apicast --environment examples/policy_chain/configuration.lua