mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Add documentation for the $PORT environment variable
This commit is contained in:
parent
73ae195068
commit
c82996f791
@ -1164,6 +1164,10 @@ Multiple addresses can be bound. ex.::
|
|||||||
will bind the `test:app` application on localhost both on ipv6
|
will bind the `test:app` application on localhost both on ipv6
|
||||||
and ipv4 interfaces.
|
and ipv4 interfaces.
|
||||||
|
|
||||||
|
If the ``PORT`` environment variable is defined, the default
|
||||||
|
is ``['0.0.0.0:$PORT']``. If it is not defined, the default
|
||||||
|
is ``['127.0.0.1:8000']``.
|
||||||
|
|
||||||
.. _backlog:
|
.. _backlog:
|
||||||
|
|
||||||
backlog
|
backlog
|
||||||
|
|||||||
@ -579,6 +579,10 @@ class Bind(Setting):
|
|||||||
|
|
||||||
will bind the `test:app` application on localhost both on ipv6
|
will bind the `test:app` application on localhost both on ipv6
|
||||||
and ipv4 interfaces.
|
and ipv4 interfaces.
|
||||||
|
|
||||||
|
If the ``PORT`` environment variable is defined, the default
|
||||||
|
is ``['0.0.0.0:$PORT']``. If it is not defined, the default
|
||||||
|
is ``['127.0.0.1:8000']``.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user