Configurable order or weight of headers in the proxy_ip_parser middleware #2307
stl-victor-sudakov
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
Hey @stl-victor-sudakov 👋🏻 |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
There are different situations when for example the “X-Forwarded-For” header cannot be trusted but the "CF-Connecting-IP" can. The list of HTTP headers is however hardcoded in the middleware.
Is it possible to make the order/weight of the parsed headers configurable?
Just wondering if there is such a PR introducing order/weight of headers, does it stand a chance to be accepted, or are there some principal considerations that it should remain fixed?
Beta Was this translation helpful? Give feedback.
All reactions