Skip to content

Conversation

@TimStallard
Copy link

This PR implements a config directive which is effectively the opposite of the existing RemoteIPProxyProtocolExceptions (reusing the code already in place for that). It allows PROXY protocol to be enabled for only a specific set of IPs, which can be useful for example when a webserver is both directly accessible to clients and also behind a reverse proxy.

I've been using this for IPv6-only webservers where IPv6 clients connect directly but IPv4 clients go through a reverse proxy. I believe this also addresses part of bug https://bz.apache.org/bugzilla/show_bug.cgi?id=64433 which describes a similar use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant