作者oscar0130 (参谋总长)
看板Python
标题[问题] 新手请教 GCP nuinx+uwsgi
时间Wed Mar 21 20:01:04 2018
小弟最近在自学nginx+uwsgi 遇到问题想请问学长们
我在google cloud platform 架ubuntu 16.04
按照
https://www.centos.bz/2017/08/nginx-uwsgi-deploy-django-project/ 操作
一.安装nginx
有成功!
https://imgur.com/lGPxPql
二:安装uwsgi
https://imgur.com/7JVQC8y
https://imgur.com/oSOB6mn
却连不上,请问这是哪边弄错了
有打开防火墙 8000port
拜托指教 谢谢 第一次发文 排版请多见谅
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 123.192.2.128
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Python/M.1521633668.A.78B.html
1F:推 hl4: 我猜uwsgi应该是只有接localhost,要从nginx设定转过去 03/21 20:48
2F:推 Sunal: 看用sock连还是直接localhost....要设定 03/21 21:09
3F:→ oscar0130: 请问这部分需要搜寻什麽,才能找到相关的资料? 03/21 21:39
4F:→ hl4: 也有可能是 gcp 自己帮你挡了吧,可把uwsgi port 换成80看看 03/22 00:19