Support anonymous responses from the server #63664
monolithed
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
It would be nice to have anonymous responses from the server. This is crucial for application security. I suggest providing the ability to change the names of the following variables:
NEXT_ROUTER_STATE_TREE
NEXT_ROUTER_PREFETCH_HEADER
NEXT_URL
NEXT_LOCALE
_next/static
Non-Goals
No response
Background
As an alternative, reverse-proxy is currently being used, but it's an uncontrolled approach that requires constant support in the form of configuration writing and testing.
#5602
Proposal
This could be configured either through individual variables in the config, such as 'poweredByHeader', or through a general flag with arbitrary values.
Beta Was this translation helpful? Give feedback.
All reactions