I've recently tried deploying a NextJS site, and with the URL Rewrites not working I need to find an alternative. I'm trying to route
/api/:path
/api/:path
to an external IP where my API is hosted, but with very little luck. The only thing that has worked so far is setting up a Page Redirect, but I don't want my API's IP address being exposed, and preferably proxied. Any straightforward way to do this?