简单明了的github项目分析器
- 12/7,项目在服务器部署本机可以运行,但是nginx反向代理确实失败,今天不搞了明天吧。。。
- 12/8,项目已经部署上限,学会了nginx反向代理以及阿里云安全组问题排查
网址:
http://101.132.60.166/
监听来自网络所有流量的请求
gunicorn -w 2 -b 0.0.0.0:5000 web:app
将项目变成后台运行
nohup gunicorn -w 2 -b 0.0.0.0:5000 web:app > gunicorn.log 2>&1 &
查看端口
lsof -i:5000
sudo systemctl status nginx
sudo systemctl restart nginx
配置 proxy_pass 设置反向代理
vim /etc/nginx/nginx.conf/