Http-proxy-middleware reverse proxy problem

the address where you want to reverse proxy is http://huaban.com/?page=2
"s reverse proxy setting in nginx is as follows

http://localhost:8099/api?page=2

this is the reverse proxy setting in node

access http://localhost:3300/api?page=2 cannot access the data. How to access the data normally

Mar.14,2021

app.use(proxy('/api',{
  target: HOST,
  changeOrigin: true,
  pathRewrite: {
    '^/api': ''
  }
}))

because all requests are processed directly by app.use ('/', express.static ('static')) , they don't go to the proxy below.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b367a4-2ad5f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b367a4-2ad5f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?