[💡 FEATURE REQUEST]: Configuration for the proxy_ip_parser
middleware
#1515
Labels
C-feature-request
Category: feature requested, but need to be discussed
help-needed-easy
Call for participation: Experience needed to fix: Easy / not much
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 theX-Forwarded-*
headers cannot be trusted, I would like to be able to configure the proxy_ip_parser to ignore theX-Forwarded-*
headers.An ability to add a custom trusted header like
CF-Connecting-IP
would be nice too.The text was updated successfully, but these errors were encountered: