pyinstaller黑色窗口一闪而过怎么去掉
用最简单方法解决api接口安全问题,几乎无法破解

uwsgi: option is ambiguous: http

妙音 posted @ 2018年11月25日 15:08 in python with tags uwsgi docker , 3143 阅读
 
 
从官网上下载的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
 

来源

 
 
Avatar_small
Imamia Quran Academy 说:
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.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter