aboutsummaryrefslogtreecommitdiff
path: root/nginx_unicorn
diff options
context:
space:
mode:
authorMiquel Sabaté <mikisabate@gmail.com>2013-07-31 14:03:15 +0200
committerMiquel Sabaté <mikisabate@gmail.com>2013-07-31 14:03:15 +0200
commit8e945a3a972071c9f17b0abfd64c8472bbd91b46 (patch)
tree8823be696f87434338dd6acd9c32d166e02d2474 /nginx_unicorn
parent8bb9b246dd05d70bc9928627a6c3865544022c42 (diff)
downloaddotfiles-8e945a3a972071c9f17b0abfd64c8472bbd91b46.tar.gz
dotfiles-8e945a3a972071c9f17b0abfd64c8472bbd91b46.zip
Updated a few things around the NGinx config
Diffstat (limited to 'nginx_unicorn')
-rw-r--r--nginx_unicorn/nginx.http.conf9
-rw-r--r--nginx_unicorn/nginx.server.conf3
2 files changed, 6 insertions, 6 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/*;
diff --git a/nginx_unicorn/nginx.server.conf b/nginx_unicorn/nginx.server.conf
index 5648d55..5d862b4 100644
--- a/nginx_unicorn/nginx.server.conf
+++ b/nginx_unicorn/nginx.server.conf
@@ -22,7 +22,8 @@ server {
# Same as above but with SSL & SPDY
# server {
-# listen 443 ssl spdy default_server;
+# listen 80;
+# listen 443 ssl spdy;
# server_name example.com;
# ssl_certificate /etc/ssl/certs/my.ssl.crt;