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