forked from coop-cloud/traefik
feat: period is also configurable
This commit is contained in:
@@ -258,3 +258,4 @@ WRITE_TIMEOUT=0s
|
||||
#RATE_LIMIT_EVERYTHING=false
|
||||
#RATE_LIMIT_AVERAGE=100
|
||||
#RATE_LIMIT_BURST=200
|
||||
#RATE_LIMIT_PERIOD=1s
|
||||
|
||||
@@ -26,7 +26,7 @@ http:
|
||||
rateLimit:
|
||||
average: {{ or (env "RATE_LIMIT_AVERAGE") "100" }}
|
||||
burst: {{ or (env "RATE_LIMIT_BURST") "200" }}
|
||||
period: "1s"
|
||||
period: {{ or (env "RATE_LIMIT_PERIOD") "1s" }}
|
||||
security:
|
||||
headers:
|
||||
frameDeny: true
|
||||
|
||||
Reference in New Issue
Block a user