From 39c47cc5c995e950f9ddde5be14cf20cb8021130 Mon Sep 17 00:00:00 2001 From: guiajlopes Date: Thu, 9 Jul 2015 22:21:10 -0300 Subject: [PATCH] Change example.com.conf to set keep_conn just if your pools is static --- sites-available/example.com.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sites-available/example.com.conf b/sites-available/example.com.conf index 2fd1b8b8..05cb49f0 100644 --- a/sites-available/example.com.conf +++ b/sites-available/example.com.conf @@ -51,7 +51,7 @@ server { ## If you're using a Nginx version greater or equal to 1.1.4 then ## you can use keep alive connections to the upstream be it ## FastCGI or Apache. If that's not the case comment out the line below. - fastcgi_keep_conn on; # keep alive to the FCGI upstream + # fastcgi_keep_conn on; # Just use this if your fpm pools is set to static. ## Uncomment if you're proxying to Apache for handling PHP. #proxy_http_version 1.1; # keep alive to the Apache upstream @@ -188,7 +188,7 @@ server { ## If you're using a Nginx version greater or equal to 1.1.4 then ## you can use keep alive connections to the upstream be it ## FastCGI or Apache. If that's not the case comment out the line below. - fastcgi_keep_conn on; # keep alive to the FCGI upstream + fastcgi_keep_conn on; # Just use this if your fpm pools is set to static. ## Uncomment if you're proxying to Apache for handling PHP. #proxy_http_version 1.1; # keep alive to the Apache upstream