rsnext/docs/api-reference/next.config.js/disabling-x-powered-by.md
Luis Alvarez D d1fdd2bbf8 Add descriptions to documentation pages (#9901)
* Added descriptions

* Added descriptions to API Reference

* Added descriptions to API Routes

* Added descriptions to basic features

* Added descriptions to the routing docs

* Update exportPathMap.md

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-03 13:16:51 -05:00

13 lines
351 B
Markdown

---
description: Next.js will add `x-powered-by` to the request headers by default. Learn to opt-out of it 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:
```js
module.exports = {
poweredByHeader: false,
}
```