Browse Source

More keepalive requests (#4683)

Joan Miquel 6 years ago
parent
commit
eb9de7fcdc

+ 3 - 0
frameworks/PHP/kumbiaphp/deploy/nginx.conf

@@ -20,6 +20,9 @@ http {
     tcp_nopush on;
     tcp_nopush on;
     tcp_nodelay on;
     tcp_nodelay on;
     keepalive_timeout 65;
     keepalive_timeout 65;
+    keepalive_disable none;
+    #fastcgi_ignore_client_abort on;
+    keepalive_requests 10000;
 
 
     open_file_cache max=2000 inactive=20s;
     open_file_cache max=2000 inactive=20s;
     open_file_cache_valid 60s;
     open_file_cache_valid 60s;

+ 3 - 0
frameworks/PHP/php/deploy/nginx-pools.conf

@@ -21,6 +21,9 @@ http {
     tcp_nopush on;
     tcp_nopush on;
     tcp_nodelay on;
     tcp_nodelay on;
     keepalive_timeout 65;
     keepalive_timeout 65;
+    keepalive_disable none;
+    #fastcgi_ignore_client_abort on;
+    keepalive_requests 10000;
 
 
     open_file_cache max=2000 inactive=20s;
     open_file_cache max=2000 inactive=20s;
     open_file_cache_valid 60s;
     open_file_cache_valid 60s;

+ 3 - 0
frameworks/PHP/php/deploy/nginx5.conf

@@ -21,6 +21,9 @@ http {
     tcp_nopush on;
     tcp_nopush on;
     tcp_nodelay on;
     tcp_nodelay on;
     keepalive_timeout 65;
     keepalive_timeout 65;
+    keepalive_disable none;
+    #fastcgi_ignore_client_abort on;
+    keepalive_requests 10000;
 
 
     open_file_cache max=2000 inactive=20s;
     open_file_cache max=2000 inactive=20s;
     open_file_cache_valid 60s;
     open_file_cache_valid 60s;

+ 3 - 1
frameworks/PHP/php/deploy/nginx7.conf

@@ -21,6 +21,9 @@ http {
     tcp_nopush on;
     tcp_nopush on;
     tcp_nodelay on;
     tcp_nodelay on;
     keepalive_timeout 65;
     keepalive_timeout 65;
+    keepalive_disable none;
+    #fastcgi_ignore_client_abort on;
+    keepalive_requests 10000;
 
 
     open_file_cache max=2000 inactive=20s;
     open_file_cache max=2000 inactive=20s;
     open_file_cache_valid 60s;
     open_file_cache_valid 60s;
@@ -38,7 +41,6 @@ http {
     reset_timedout_connection on;
     reset_timedout_connection on;
     server_names_hash_bucket_size 100;
     server_names_hash_bucket_size 100;
 
 
-
     upstream fastcgi_backend {
     upstream fastcgi_backend {
         server unix:/var/run/php/php7.3-fpm.sock;
         server unix:/var/run/php/php7.3-fpm.sock;
         keepalive 40;
         keepalive 40;