uwsgi配置

编辑nginx配置:

server {
        listen 8098;
        server_name 127.0.0.1;
        location / {
                include uwsgi_params;
                # uwsgi_pass unix:/tmp/uwsgi.sock;
                uwsgi_pass 192.168.19.162:8115;
        }
}

uwsgi配置

 

安装flask

sudo pip install flask --proxy 192.168.52.227
posted @ 2015-06-09 16:08  cleardo  阅读(161)  评论(0编辑  收藏  举报