django + gunicorn +nginx + gevent
文章目录
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
nohup gunicorn --worker-class=gevent ttt.wsgi:application --reload&
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论