location / {
try_files $uri $uri/ /index.html;
}
location /api {
rewrite ^.+Api/?(.*)$ /$1 break;
include uwsgi_params;
proxy_pass http://api.weiyijituan.net;