Fix 'nginx say 10000 worker_connections are not enough'
[msb/apigateway.git] / openresty-ext / src / assembly / resources / openresty / nginx / conf / nginx.conf
index 743eb31..a340aa8 100644 (file)
@@ -18,7 +18,7 @@
 worker_processes  8;
 worker_rlimit_nofile 65535;
 
-error_log  logs/error.log  warn;
+error_log  logs/error.log  info;
 pid        logs/nginx.pid;
 
 env ROUTER_SUBDOMAIN;
@@ -29,7 +29,7 @@ events {
        #there is normally no need to specify the following directive explicitly
        #use epoll;
        worker_connections  10000;
-       multi_accept on;
+       multi_accept off;
 }
 
 http {