From b1487476307eedae598fe47b120dc1c806dcd2f8 Mon Sep 17 00:00:00 2001 From: zokiad Date: Wed, 18 Apr 2018 23:44:15 +0200 Subject: [PATCH] Update nginx.conf (#6025) Performance issue. Add nodelay to avoid nginx to wait to be forward https://www.nginx.com/blog/rate-limiting-nginx/ --- aspnetcore/host-and-deploy/linux-nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/host-and-deploy/linux-nginx/nginx.conf b/aspnetcore/host-and-deploy/linux-nginx/nginx.conf index 4a2607ec53..c02a816f72 100644 --- a/aspnetcore/host-and-deploy/linux-nginx/nginx.conf +++ b/aspnetcore/host-and-deploy/linux-nginx/nginx.conf @@ -38,7 +38,7 @@ http { #Redirects all traffic location / { proxy_pass http://hellomvc; - limit_req zone=one burst=10; + limit_req zone=one burst=10 nodelay; } } }