diff options
Diffstat (limited to 'nginx_unicorn')
| -rw-r--r-- | nginx_unicorn/nginx.http.conf | 9 | ||||
| -rw-r--r-- | nginx_unicorn/nginx.server.conf | 3 |
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; |
