From 641d15612806f08e0a502778f88821e0c034cd05 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Fri, 12 Dec 2014 21:30:15 +0000 Subject: [PATCH] Rate limiting; allow 2r/s so we can do a POST and GET of a snippet faster --- server/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/nginx.conf b/server/nginx.conf index 2fcfd6a..7641430 100644 --- a/server/nginx.conf +++ b/server/nginx.conf @@ -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;