logoNext.js English
DocumentationBlogLearn
Getting Started
Installation
Project Structure
Building Your Application
Routing
Data Fetching
Rendering
Caching
Styling
Optimizing
Configuring
Testing
Authentication
Deploying
Upgrading
API Reference
Edge Runtime
Components
File Conventions
Functions
next.config.js Options
appDir
assetPrefix
basePath
compress
crossOrigin
devIndicators
distDir
env
eslint
exportPathMap
generateBuildId
generateEtags
headers
httpAgentOptions
images
cacheHandler
instrumentationHook
logging
mdxRs
onDemandEntries
optimizePackageImports
output
pageExtensions
Partial Prerendering (experimental)
poweredByHeader
productionBrowserSourceMaps
reactStrictMode
redirects
rewrites
serverActions
serverComponentsExternalPackages
StaleTimes (experimental)
trailingSlash
transpilePackages
turbo
typedRoutes
typescript
urlImports
webpack
webVitalsAttribution
CLI
Architecture
Community
logoNext.js English
DocumentationBlogLearn
Introduction/API Reference/next.config.js Options/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,
}

Partial Prerendering (experimental)

Learn how to enable Partial Prerendering (experimental) in Next.js 14.

productionBrowserSourceMaps

Enables browser source map generation during the production build.