解决:

在宝塔面板文件配置中加入一下代码
location / {
proxy_pass http://localhost:888;
}
location /backend-api {
rewrite ^/backend-api(.*)$ $1 break;
proxy_pass http://你的ip地址;
}
解决:
在宝塔面板文件配置中加入一下代码
location / {
proxy_pass http://localhost:888;
}
location /backend-api {
rewrite ^/backend-api(.*)$ $1 break;
proxy_pass http://你的ip地址;
}