错误:在nginx和uwsgi上烧瓶app中的502坏网关

时间:2013-05-19 08:44:43

标签: python linux ubuntu nginx flask

我正在使用Nginix,uWSGI在Ubuntu服务器上部署一个烧瓶应用程序。我按照本教程... http://www.soundrenalin.com/about

我是Nignix和Sys Admin的初学者。

但是,当我运行我的应用时,它会出错:502 Bad Gateway

我查看了日志文件并说:

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

为什么会这样?请建议

1 个答案:

答案 0 :(得分:-2)

查看同一网址(https://github.com/kholidfu/serverthings/blob/master/serversetup.org)中的新文档。这是印尼语,但到处都有代码片段,希望你能理解它