Documentation

Configuration

gateway.config.yml

policies

Description

The policies section is a whitelist of enabled policies. Policies that are intended to be used by Express Gateway must be declared here. For all policies supported by Express Gateway please see the Policy Reference

Usage

policies:
  - cors
  - rate-limiter
  - log
  - proxy
  - oauth2
  - key-auth
  - basic-auth

Options:

Name Description
name name of policy, also the corresponding directory name under /lib/policies