rsnext/docs/api-reference/next.config.js/disabling-x-powered-by.md
2020-05-18 12:58:29 -04:00

556 B

description
Next.js will add the `x-powered-by` header by default. Learn to opt-out of it here.

Disabling x-powered-by

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

module.exports = {
  poweredByHeader: false,
}