[PATCH] examples/nginx.conf: add ipv6only comment

Eric Wong normalperson at yhbt.net
Tue Jun 7 13:04:22 EDT 2011


My wording sucked for the original comment, just pushed this out to
unicorn.git (6eefc641c84eaa86cb2be4a2b1983b15efcbfae1)

diff --git a/examples/nginx.conf b/examples/nginx.conf
index 368e19e..cc1038a 100644
--- a/examples/nginx.conf
+++ b/examples/nginx.conf
@@ -90,7 +90,7 @@ http {
     # If you have IPv6, you'll likely want to have two separate listeners.
     # One on IPv4 only (the default), and another on IPv6 only instead
     # of a single dual-stack listener.  A dual-stack listener will make
-    # $remote_addr will make IPv4 addresses ugly (e.g ":ffff:10.0.0.1"
+    # for ugly IPv4 addresses in $remote_addr (e.g ":ffff:10.0.0.1"
     # instead of just "10.0.0.1") and potentially trigger bugs in
     # some software.
     # listen [::]:80 ipv6only=on; # deferred or accept_filter recommended
-- 
Eric Wong


More information about the mongrel-unicorn mailing list