Does api behind reverse proxy require redirecting /?

Is it possible to use a reverse proxy without redirecting the root path (/)?
All tutorials redirects /api /ipfs and /. Which is not really useful if a user uses a reverse proxy to access multiple services.