title: How to use matcher in Next JS middleware
body: <p>I am trying to use matcher in my Next js middleware but documentation doesnt say much on how to implement the functionality.</p>
  <p>All it shows is this without explaining which file it goes in or how to use the config in the middleware file:</p>
  <pre><code>  export const config = {
    matcher: '/about/:path*',
  }
  </code></pre>
  <p>Does anyone have a working example of how to set up the matcher for a middleware file in Next js?</p>
  <p>Thank you.</p>