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&
    原文作者:Prasanta
    原文地址: https://segmentfault.com/a/1190000006707998
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞