title: NestJs using middleware on all routes
body: <p>I'm new to nestjs, and I'm using a middleware to authenticate my users. I would like to apply that for all routes. I'm currently adding controller one by one and it's becoming redundant.</p>
  <pre class="lang-js prettyprint-override"><code>export class AppModule implements NestModule {
    public configure(consumer: MiddlewareConsumer): void {
      consumer.apply(GetUserMiddleware).forRoutes(
        UserController,
        //***
      );
    }
  }
  </code></pre>
  <p>I've surfed the documentation and could not find it (<a href="https://docs.nestjs.com/middleware" rel="nofollow noreferrer">NestJs - Middleware</a>).</p>
  <p>How can I change this to get my middleware to work on all routes?</p>