I need help routing prefix

Hello, I have a question.

I'm building a REST API in nest. Its divided into what would be the app and what would be the backoffice, I wanted to divide it within nest into two modules that have everything that uses the 'v1' prefix for the app and the 'backoffice' prefix for the backoffice. I can't find how to do this dynamically without touching all the controllers or declaring route by route.