Skip to content
Myr

Merge pull request #4772 from DillonB07/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

correct `waitress-serve` command

authored by David Lord · committed by GitHub · parents 2d3f725, 86bf3f2 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/deploying/waitress.rst+2 added-2 removed
43 unmodified lines
4445.. code-block:: text4647 # equivalent to 'from hello import app'48 $ waitress-serve hello:app --host 127.0.0.148 $ waitress-serve --host 127.0.0.1 hello:app4950 # equivalent to 'from hello import create_app; create_app()'51 $ waitress-serve --call hello:create_app --host 127.0.0.151 $ waitress-serve --host 127.0.0.1 --call hello:create_app5253 Serving on http://127.0.0.1:80805455The ``--host`` option binds the server to local ``127.0.0.1`` only.
20 unmodified lines