Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pages/aws/config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,13 @@ If you want to take a look at some simple configuration examples, you can check
For more advanced use cases, you can check [how to implement custom overrides](/aws/config/custom_overrides).

If you want to look at a full example, you can check [the full example](/aws/config/full_example).


### Opt out of default poweredByHeader

By default Next.js will add the [`x-powered-by`]((https://nextjs.org/docs/app/api-reference/next-config-js/poweredByHeader)) header. OpenNext will also add a header `x-opennext`. To opt-out of this, open `next.config.js` and disable the poweredByHeader property in the configuration:
```ts
module.exports = {
poweredByHeader: false,
}
```
Loading