【问题标题】:nginx + uwsgi Standalone scripts [closed]nginx + uwsgi 独立脚本 [关闭]
【发布时间】:2013-02-17 16:54:01
【问题描述】:

我决定使用uWSGI 在我的网站上运行 Python。我想允许执行独立的 Python 脚本,例如 http://domain.com/signup.py 左右。有没有可能的方法来做到这一点?我仔细搜索了解决方案,但仍然没有找到任何东西。

【问题讨论】:

标签: python nginx cgi wsgi uwsgi


【解决方案1】:

您想要完成的是运行 CGI 脚本。所以你必须使用uWSGI cgi插件:https://uwsgi-docs.readthedocs.org/en/latest/CGI.html

这是一个通用插件,与python无关。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-02-08
    • 2011-12-06
    • 2017-11-27
    • 2023-03-17
    • 2018-07-29
    • 2012-08-20
    相关资源
    最近更新 更多