Skip to content

Instantly share code, notes, and snippets.

@DanukaPraneeth
Created August 2, 2020 15:43
Show Gist options
  • Save DanukaPraneeth/7138bc7039ebdb2b51a443a2cf01a69a to your computer and use it in GitHub Desktop.
Save DanukaPraneeth/7138bc7039ebdb2b51a443a2cf01a69a to your computer and use it in GitHub Desktop.
apiVersion: configuration.konghq.com/v1
kind: KongClusterPlugin
metadata:
name: response-ratelimit
config:
block_on_first_violation: false
fault_tolerant: true
header_name: Data
hide_client_headers: false
limit_by: ip
limits:
"external":
minute: 10
policy: local
plugin: response-ratelimiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment