mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-18 15:59:20 +11:00
Rate limiting; allow 2r/s so we can do a POST and GET of a snippet faster
This commit is contained in:
parent
51d9d6a8a7
commit
641d156128
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
limit_req_zone $binary_remote_addr zone=login:10m rate=1r/s;
|
||||
limit_req_zone $binary_remote_addr zone=login:10m rate=2r/s;
|
||||
|
||||
upstream app_server {
|
||||
server 127.0.0.1:12000 fail_timeout=0;
|
||||
|
|
Loading…
Reference in a new issue