nginx - How to deploy Flask under windows system?
phpcn_u1582
phpcn_u1582 2017-05-16 16:57:32
0
3
759

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~

phpcn_u1582
phpcn_u1582

reply all(3)
滿天的星座

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template