roadrunner icon indicating copy to clipboard operation
roadrunner copied to clipboard

[💡 FEATURE REQUEST]: Configuration for the `proxy_ip_parser` middleware

Open victor-sudakov opened this issue 2 years ago • 1 comments

Plugin

HTTP Middleware (any)

I have an idea!

Please add a configuration option to the proxy_ip_parser middleware with the ability to select trusted and untrusted headers. For example, if the X-Real-IP header can be trusted and the X-Forwarded-* headers cannot be trusted, I would like to be able to configure the proxy_ip_parser to ignore the X-Forwarded-* headers.

An ability to add a custom trusted header like CF-Connecting-IP would be nice too.

victor-sudakov avatar Mar 27 '23 03:03 victor-sudakov

Hey @victor-sudakov 👋🏻

Let's wait for the community 😃

rustatian avatar Mar 28 '23 09:03 rustatian