aboutsummaryrefslogtreecommitdiff
path: root/nginx_unicorn/nginx.http.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx_unicorn/nginx.http.conf')
-rw-r--r--nginx_unicorn/nginx.http.conf9
1 files changed, 4 insertions, 5 deletions
diff --git a/nginx_unicorn/nginx.http.conf b/nginx_unicorn/nginx.http.conf
index e8945a9..21bb36e 100644
--- a/nginx_unicorn/nginx.http.conf
+++ b/nginx_unicorn/nginx.http.conf
@@ -1,18 +1,17 @@
-user http;
-worker_processes 1;
+user http http;
+worker_processes 2;
events {
worker_connections 1024;
}
-
http {
include mime.types;
default_type application/octet-stream;
- sendfile on;
- #keepalive_timeout 0;
+ sendfile on;
+ tcp_nopush on;
keepalive_timeout 65;
include /etc/nginx/sites-enabled/*;