uniapp使用vue打包后ngx开启伪静态

浏览1293

location / {

  try_files $uri $uri/ /index.html;


}

location /api {

    rewrite  ^.+Api/?(.*)$ /$1 break;

    include  uwsgi_params;

    proxy_pass   http://api.weiyijituan.net;

}



  • 暂无任何回答