roadrunner
roadrunner copied to clipboard
[💡 FEATURE REQUEST]: Configuration for the `proxy_ip_parser` middleware
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.
Hey @victor-sudakov 👋🏻
Let's wait for the community 😃