Rate limiting; allow 2r/s so we can do a POST and GET of a snippet faster

This commit is contained in:
Martin Mahner 2014-12-12 21:30:15 +00:00
parent 51d9d6a8a7
commit 641d156128

View file

@ -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 { upstream app_server {
server 127.0.0.1:12000 fail_timeout=0; server 127.0.0.1:12000 fail_timeout=0;