From 32395a17fcb18a808c5c0b3195f4414c2aebbfd1 Mon Sep 17 00:00:00 2001 From: benoitc Date: Sun, 16 Dec 2012 10:51:59 +0100 Subject: [PATCH] document the new --bind syntax. --- gunicorn/config.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gunicorn/config.py b/gunicorn/config.py index 726840ba..c02f4459 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -358,6 +358,13 @@ class Bind(Setting): A string of the form: 'HOST', 'HOST:PORT', 'unix:PATH'. An IP is a valid HOST. + + Multiple addresses can be bound. ex.:: + + $ gunicorn -b 127.0.0.1:8000 -b [::1]:8000 test:app + + will bind the `test:app` application on localhost both on ipv6 + and ipv4 interfaces. """ class Backlog(Setting):