Unverified Commit 97a61a18 authored by Stig Kleppe-Jørgensen's avatar Stig Kleppe-Jørgensen Committed by GitHub

x-powered-by is added to response, not request (#13037)

parent 32885432
--- ---
description: Next.js will add `x-powered-by` to the request headers by default. Learn to opt-out of it here. description: Next.js will add the `x-powered-by` header by default. Learn to opt-out of it here.
--- ---
# Disabling x-powered-by # 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: 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:
```js ```js
module.exports = { module.exports = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment