Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
97a61a18
Unverified
Commit
97a61a18
authored
May 18, 2020
by
Stig Kleppe-Jørgensen
Committed by
GitHub
May 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x-powered-by is added to response, not request (#13037)
parent
32885432
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
disabling-x-powered-by.md
docs/api-reference/next.config.js/disabling-x-powered-by.md
+2
-2
No files found.
docs/api-reference/next.config.js/disabling-x-powered-by.md
View file @
97a61a18
---
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
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
module
.
exports
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment