uwsgi: option is ambiguous: http
从官网上下载的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
2023年8月07日 06:04
Nicely presented information in this post, I prefer to read this kind of stuff. The quality of content is fine and the conclusion is good. Thanks for the post. I am from Imamia Quran Academy. Online Shia Quran Madrasa is second to none in providing education to Shia women’s. So our center has selected Shia Female Quran teacher with higher education from Madrasas.