If that doesn’t work, then your backend triggers redirects or serves responses with /app-backend in links and asset paths, then this approach won’t work, and you’ll need to make changes in your backend to accept requests at a different base path, without /app-backend.
I tried as your recommend but it doesn’t work, it shows me “too many redirects”.
I guess this could be the case you mentioned, i don’t know how to make it to use without /app-backend