|
@@ -2,17 +2,17 @@ user www-data;
|
|
|
worker_processes auto;
|
|
|
error_log stderr error;
|
|
|
#worker_rlimit_nofile 100000;
|
|
|
-#timer_resolution 1000ms;
|
|
|
+timer_resolution 1s;
|
|
|
daemon off;
|
|
|
pcre_jit on;
|
|
|
|
|
|
events {
|
|
|
- worker_connections 65536;
|
|
|
+ worker_connections 1000000;
|
|
|
multi_accept off;
|
|
|
}
|
|
|
|
|
|
http {
|
|
|
- include /etc/nginx/mime.types;
|
|
|
+ #include /etc/nginx/mime.types;
|
|
|
access_log off;
|
|
|
server_tokens off;
|
|
|
|
|
@@ -21,7 +21,7 @@ http {
|
|
|
tcp_nodelay on;
|
|
|
keepalive_timeout 65s;
|
|
|
keepalive_disable none;
|
|
|
- keepalive_requests 200000;
|
|
|
+ keepalive_requests 10000000;
|
|
|
|
|
|
php_ini_path /deploy/conf/php.ini;
|
|
|
|