mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
add: limiter extension to allow rate-limit the API
This commit is contained in:
parent
3692887d80
commit
12100ff884
9 changed files with 154 additions and 20 deletions
|
|
@ -63,6 +63,17 @@ celery = false
|
|||
# http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls
|
||||
# example: sqlite:////var/lib/burpui/store.db
|
||||
database = none
|
||||
# whether to rate limit the API or not
|
||||
# may also be a redis url like: redis://localhost:6379/0
|
||||
# if set to "true" or "redis" or "default", the url defaults to:
|
||||
# redis://<redis_host>:<redis_port>/3
|
||||
# where <redis_host> is the host part, and <redis_port> is the port part of
|
||||
# the above "redis" setting
|
||||
# Note: the limiter only applies to the API routes
|
||||
limiter = false
|
||||
# limiter ratio
|
||||
# see https://flask-limiter.readthedocs.io/en/stable/#ratelimit-string
|
||||
ratio = 20/minute
|
||||
|
||||
[Security]
|
||||
## This section contains some security options. Make sure you understand the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue