Repository: ignite
Updated Branches:
  refs/heads/master ae69b1a2a -> 4254d55f0


IGNITE-9662 Web Console: Optimize Nginx settings


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/4254d55f
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/4254d55f
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/4254d55f

Branch: refs/heads/master
Commit: 4254d55f0ddc93f324f74b8a92034c21402a5c77
Parents: ae69b1a
Author: Alexey Kuznetsov <[email protected]>
Authored: Fri Sep 21 20:09:07 2018 +0700
Committer: Alexey Kuznetsov <[email protected]>
Committed: Fri Sep 21 20:09:07 2018 +0700

----------------------------------------------------------------------
 .../docker/compose/frontend/nginx/nginx.conf      | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/4254d55f/modules/web-console/docker/compose/frontend/nginx/nginx.conf
----------------------------------------------------------------------
diff --git a/modules/web-console/docker/compose/frontend/nginx/nginx.conf 
b/modules/web-console/docker/compose/frontend/nginx/nginx.conf
index dc208f5..c98875f 100644
--- a/modules/web-console/docker/compose/frontend/nginx/nginx.conf
+++ b/modules/web-console/docker/compose/frontend/nginx/nginx.conf
@@ -16,23 +16,25 @@
 #
 
 user  nginx;
-worker_processes  1;
+worker_processes auto;
 
 error_log  /var/log/nginx/error.log  warn;
 pid        /var/run/nginx.pid;
 
 events {
-  worker_connections  128;
+  use epoll;
+  worker_connections   512;
+  multi_accept         on;
 }
 
 http {
-  server_tokens off;
-  sendfile            on;
-  aio                 on;
-  tcp_nopush          on;
+  server_tokens        off;
+  sendfile             on;
+  aio                  on;
+  tcp_nopush           on;
 
-  keepalive_timeout   60;
-  tcp_nodelay         on;
+  keepalive_timeout    60;
+  tcp_nodelay          on;
 
   client_max_body_size 100m;
 

Reply via email to