内容简介:从官网上下载的uwsgi包含所有的插件。其它来源的uwsgi可能被人改过了。例如,为了减小体积,会删除uwsgi不必要的插件。alpine中运行uwsgi
从官网上下载的uwsgi包含所有的插件。其它来源的uwsgi可能被人改过了。例如,为了减小体积,会删除uwsgi不必要的插件。
环境
alpine中运行uwsgi
示例:启动uwsgi提供http访问接口,出现错误
#报错的原因就是这个uwsgi没有http插件 ~ # uwsgi --http :9090 --plugins http,python3 [uWSGI] getting INI configuration from /app/uwsgi.ini uwsgi: option is ambiguous: http getopt_long() error
看看官网下载的uwsgi
解决办法
#查找 /app # apk search uwsgi |grep http uwsgi-router_http-2.0.17-r0 uwsgi-http-2.0.17-r0 #安装 apk add uwsgi-http uwsgi-router_http
来源
http://www.yongqingking.top/web/2018/11/25/uwsgi-lack-http.html
以上所述就是小编给大家介绍的《uwsgi: option is ambiguous: http》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Compilers
Alfred V. Aho、Monica S. Lam、Ravi Sethi、Jeffrey D. Ullman / Addison Wesley / 2006-9-10 / USD 186.80
This book provides the foundation for understanding the theory and pracitce of compilers. Revised and updated, it reflects the current state of compilation. Every chapter has been completely revised ......一起来看看 《Compilers》 这本书的介绍吧!