logoNext.js English
DocumentationBlogLearn
Getting Started
Installation
Project Structure
Layouts and Pages
Linking and Navigating
Images
Fonts
CSS
Server and Client Components
Fetching Data
Caching and Revalidating
Updating Data
Error Handling
Partial Prerendering
Metadata and OG images
Deploying
Upgrading
Guides
Building Your Application
Deep Dive
API Reference
Edge Runtime
Turbopack
Directives
Components
File-system conventions
Functions
Configuration
TypeScript
ESLint
next.config.js
allowedDevOrigins
appDir
assetPrefix
authInterrupts
basePath
cacheLife
compress
crossOrigin
cssChunking
devIndicators
distDir
dynamicIO
env
eslint
expireTime
exportPathMap
generateBuildId
generateEtags
headers
htmlLimitedBots
httpAgentOptions
images
cacheHandler
inlineCss
logging
mdxRs
onDemandEntries
optimizePackageImports
output
pageExtensions
poweredByHeader
ppr
productionBrowserSourceMaps
reactCompiler
reactMaxHeadersLength
reactStrictMode
redirects
rewrites
sassOptions
serverActions
serverComponentsHmrCache
serverExternalPackages
staleTimes
staticGeneration*
taint
trailingSlash
transpilePackages
turbopack
typedRoutes
typescript
urlImports
useCache
useLightningcss
viewTransition
webpack
webVitalsAttribution
CLI
Architecture
Community
logoNext.js English
DocumentationBlogLearn
Introduction/API Reference/Configuration/next.config.js/poweredByHeader

poweredByHeader

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:

next.config.js
module.exports = {
  poweredByHeader: false,
}

pageExtensions

Extend the default page extensions used by Next.js when resolving pages in the Pages Router.

ppr

Learn how to enable Partial Prerendering in Next.js.