forked from kubernetes/ingress-nginx
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix incorrect real ip for ssl-passthrough
1. this implemention can work together with 'use-forwarded-for: "true"' and 'compute-full-forwarded-for: "true"'. 2. this fix breaks function of 'use-proxy-protocol: "true"' 3. this fix can not be cherrypicked to latest ingress-nginx, because 9af574a (>=0.26.0) refactor the real ip code in nginx.tmpl Signed-off-by: Huanle Han <hanhuanle@caicloud.io>
- Loading branch information
Huanle Han
committed
Feb 9, 2021
1 parent
95466a3
commit 1170ec4
Showing
1 changed file
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters