1.django项目部署 ngix和uwsgi
参考:https://www.cnblogs.com/zhming26/p/6158660.html
2.跟着上面部署反向代理后,使用域名访问,页面502
3.查看配置的报错日志:
2018/01/19 00:26:32 [crit] 2331#2331: *1 connect() to 192.168.161.130:8001 failed (13: Permission denied) while connecting to upstream, client: 192.168.161.1, server: www.jamin.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://192.168.161.130:8001/favicon.ico", host: "www.jamin.com", referrer: "http://www.jamin.com/"
4.上网查询解决办法
参考:http://blog.csdn.net/dszgf5717/article/details/50903817