如何修复我的烧瓶应用程序中的WSGI应用程序0(mountpoint ='')错误?

时间:2019-01-07 20:40:12

标签: python nginx flask uwsgi

我正在尝试使用nginx和uwsgi在Google云端中部署我的flask&socketIO项目,但是每次尝试运行时,都会出现此错误:

  

WSGI应用程序0(mountpoint ='')

文件:

myproject.ini

[uwsgi]
module = wsgi
callable = app

master = true
processes = 1

socket = myproject.sock
chmod-socket = 660
vacuum = true

die-on-term = true

wsgi.py

from myproject import app
from myproject import socketio as io

if __name__ == "__main__":
    io.run(app, host='0.0.0.0', port=5555, use_reloader=False)

0 个答案:

没有答案