Python 错误:nginx和uwsgi上flask应用程序中的502网关错误
我正在使用Nginix,uWSGI在Ubuntu服务器上部署一个flask应用程序。我遵循了这个教程 我是Nignix和系统管理员的初学者 但当我运行我的应用程序时,它给出了错误:502坏网关 我查看了日志文件,它说:Python 错误:nginx和uwsgi上flask应用程序中的502网关错误,python,linux,ubuntu,nginx,flask,Python,Linux,Ubuntu,Nginx,Flask,我正在使用Nginix,uWSGI在Ubuntu服务器上部署一个flask应用程序。我遵循了这个教程 我是Nignix和系统管理员的初学者 但当我运行我的应用程序时,它给出了错误:502坏网关 我查看了日志文件,它说: Starting uWSGI 1.2.3-debian (32bit) on [Sun May 19 05:39:19 2013] ***compiled with version: 4.7.1 on 17 September 2012 17:20:40 detected nu
Starting uWSGI 1.2.3-debian (32bit) on [Sun May 19 05:39:19 2013]
***compiled with version: 4.7.1 on 17 September 2012 17:20:40 detected number of CPU cores: 1 current working directory: /etc/uwsgi/apps-enabled detected binary path: /usr/bin/uwsgi-core your memory page size is 4096 bytes detected max file descriptor number: 1024
lock engine: pthread robust mutexesunlink(): Operation not permitted [socket.c line 75]
bind(): Address already in use [socket.c line 107] removed uwsgi instance flaskapp.ini
为什么会这样?请建议查看同一URL中的新文档。它是印尼文的,但到处都有代码片段,希望您能理解它截至2014年5月30日的死链接。