By default Next.js will add the x-powered-byheader. To opt-out of it, open next.config.jsand disable the poweredByHeaderconfig:
x-powered-by
next.config.js
poweredByHeader
module.exports = { poweredByHeader: false, }
Introduction to next.config.jsLearn more about the configuration file used by Next.js.
← 运行时配置 禁止生成 ETag →