diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-01-25 13:56:39 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-25 13:56:39 -0800 |
commit | 1ca83b055375ab7e72d383ffd0f36f70c07d9e92 (patch) | |
tree | ecbe61653f77f0b2730f4199d6fc7407ec4e1f60 | |
parent | fb1f33aecc7102fb5c10e27c65b9b27cf249415f (diff) | |
download | unicorn-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).
-rw-r--r-- | examples/nginx.conf | 2 |
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 _; |