Added application alias to make the Python application function in the Docker howto.

Artem Konev artem.konev at nginx.com
Fri Jul 19 09:53:44 UTC 2019


Thank you, Daniel; this was a miss on my part. 
We've published the update with some changes in the commit message due to restrictions.

> 18 июля 2019 г., в 21:34, Daniel Edgar via unit <unit at nginx.org> написал(а):
> 
> # HG changeset patch
> # User Daniel Edgar <edgar at f5.com>
> # Date 1563474528 25200
> #      Thu Jul 18 11:28:48 2019 -0700
> # Node ID 6f301c8192834d19a2c866ba79005613f8374e56
> # Parent  3e0adcea05fd295ff84aa38c4259bf1fc0c3264f
> Added alias to make the Python application function in the Docker howto.
> 
> diff --git a/source/howto/docker.rst b/source/howto/docker.rst
> --- a/source/howto/docker.rst
> +++ b/source/howto/docker.rst
> @@ -53,6 +53,7 @@
>  
>         > from flask import Flask
>         > app = Flask(__name__)
> +       > application = app
>         >
>         > @app.route('/')
>         > def hello_world():
> 
> <patch.diff>_______________________________________________
> unit mailing list
> unit at nginx.org
> https://mailman.nginx.org/mailman/listinfo/unit

—
Artem Konev
Sr. Technical Writer










More information about the unit mailing list