If your upstream app doesn’t know about /admin then it makes sense that it wouldn’t work.
You’d probably be better off making a subdomain like admin.example.com and serve it from there, if you need to continue serving a static site at your apex domain.