server {
listen 80;
server_name _;
location / {
uwsgi_pass 0.0.0.0:9000;(要与uwsgi.ini里的写一致)
include /etc/nginx/uwsgi_params;(nginx自带就有改成你nginx路径就好)
uwsgi_send_timeout 120s;
uwsgi_read_timeout 120s;
}
}