Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃挕 FEATURE REQUEST]: Configuration for the proxy_ip_parser middleware #1515

Open
victor-sudakov opened this issue Mar 27, 2023 · 1 comment
Assignees
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

Comments

@victor-sudakov
Copy link

victor-sudakov commented Mar 27, 2023

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 victor-sudakov added the C-feature-request Category: feature requested, but need to be discussed label Mar 27, 2023
@rustatian rustatian changed the title [馃挕 FEATURE REQUEST]: the proxy_ip_parser middleware should be more configurable [馃挕 FEATURE REQUEST]: Configuration for the proxy_ip_parser middleware Mar 27, 2023
@rustatian rustatian added the help-needed-easy Call for participation: Experience needed to fix: Easy / not much label Mar 27, 2023
@rustatian
Copy link
Member

Hey @victor-sudakov 馃憢馃徎

Let's wait for the community 馃槂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Status: 馃搵 Backlog
Development

No branches or pull requests

2 participants