[nextjs] Use config to set HTTP `Server` header
[According to Next.js maintainers][suggestion], this can improve
performance:
> If you only need custom headers, you might see better performance by
> using the `headers` option in `next.config.js` instead of middleware.
[suggestion]: https://github.com/vercel/next.js/discussions/75930#discussioncomment-12187436