I know the method:
Flask’s own services.
This debugging can be used, but it is not suitable for the product.
apache+wsgi
However, the wsgi mod is really difficult to use. Basically, you have to compile it yourself. If you upgrade Python and apache, you have to recompile it, which is very troublesome.
apache + fastcgi
Oh~ I have never solved it.
I don’t know if you have any other useful methods. Can you introduce one or two~
You can use Docker or a virtual machine, and then use Gunicorn + Nginx for deployment, related blogs
Use nginx
I use apache + mod_wsgi, and the webserver is waitress.
mod_wsgi.so can be downloaded at http://www.lfd.uci.edu/~gohlk...
Gunicorn and uwsgi are in widndows, but I have not successfully deployed them.