about summary refs log tree commit homepage
path: root/examples
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-25 13:56:39 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-25 13:56:39 -0800
commit1ca83b055375ab7e72d383ffd0f36f70c07d9e92 (patch)
treeecbe61653f77f0b2730f4199d6fc7407ec4e1f60 /examples
parentfb1f33aecc7102fb5c10e27c65b9b27cf249415f (diff)
downloadunicorn-1ca83b055375ab7e72d383ffd0f36f70c07d9e92.tar.gz
There's no need to use listen unless you use non-default port or
can enable "deferred" or "httpready" (which you usually want).
Diffstat (limited to 'examples')
-rw-r--r--examples/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nginx.conf b/examples/nginx.conf
index d42ade8..70d1851 100644
--- a/examples/nginx.conf
+++ b/examples/nginx.conf
@@ -83,9 +83,9 @@ http {
   }
 
   server {
+    # enable one of the following if you're on Linux or FreeBSD
     # listen 80 default deferred; # for Linux
     # listen 80 default accept_filter=httpready; # for FreeBSD
-    listen 80 default;
 
     client_max_body_size 4G;
     server_name _;