繁体   English   中英

错误:nginx和uwsgi上的烧瓶应用程序中的502错误网关

[英]error: 502 bad gateway in flask app on nginx and uwsgi

我正在使用Nginix,uWSGI在Ubuntu服务器上部署Flask应用程序。 我遵循了本教程... 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

为什么会这样呢? 请建议

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM