Note: You are viewing the new Next.js documentation. The old docs are still available here.

Disabling x-powered-by

By default Next.js will add x-powered-by to the request headers. To opt-out of it, open next.config.js and disable the poweredByHeader config:

module.exports = {
  poweredByHeader: false,
}

Related