我正在尝试使用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)