rate-limit #3
1 changed files with 3 additions and 5 deletions
|
@ -1,10 +1,8 @@
|
||||||
# Here, an average of 100 requests per second is allowed.
|
|
||||||
# In addition, a burst of 50 requests is allowed.
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: ratelimit
|
name: ratelimit
|
||||||
spec:
|
spec:
|
||||||
rateLimit: # ToDo: Config options for rate limiting: https://doc.traefik.io/traefik/middlewares/http/ratelimit/
|
rateLimit: # Config options for rate limiting: https://doc.traefik.io/traefik/middlewares/http/ratelimit/
|
||||||
average: 100
|
average: AVG
|
||||||
burst: 50
|
burst: BRS
|
Loading…
Reference in a new issue