【问题标题】:How to deploy Python Flask Application on Windows Server Using Nginx and uWSGI or Gunicorn?如何使用 Nginx 和 uWSGI 或 Gunicorn 在 Windows Server 上部署 Python Flask 应用程序?
【发布时间】:2018-12-28 21:52:45
【问题描述】:

我想使用 Nginx 和 uWSGI 或 Gunicorn 在 Windows 机器上部署我的烧瓶应用程序。我没有找到直截了当的文档,有人可以分享完整的过程。

【问题讨论】:

    标签: python-3.x nginx flask gunicorn uwsgi


    【解决方案1】:

    那是因为 gunicorn doesn't work on windows at all 和 uwsgi 不是 supported on windows and requires cygwin which is barely a production-ready solution。如果您真的想要将 windows 作为平台,我建议您查看Apache + mod_wsgi or FastCGI

    【讨论】:

    • 女服务员怎么样?您对此有何看法?
    • @variable 我没用过
    猜你喜欢
    • 1970-01-01
    • 2014-06-04
    • 1970-01-01
    • 2021-09-24
    • 2017-01-07
    • 2023-03-31
    • 1970-01-01
    • 2021-01-01
    • 2021-12-14
    相关资源
    最近更新 更多