[root@localhost webserver]# uwsgi --http-socket :8001 --wsgi-file testuwsgi.py
uwsgi: unrecognized option '--wsgi-file'
getopt_long() error
使用下面方式
[root@localhost webserver]# uwsgi --http-socket :8001 --plugin python --wsgi-file testuwsgi.py
转载于:https://www.cnblogs.com/duicym/p/7b1e8945ba19694c1705411d267a30d0.html