Created
March 22, 2023 03:06
-
-
Save phanlyhuynh/143bcee3bfedd3cd6ea1083512e688bb to your computer and use it in GitHub Desktop.
Show Real IP Ingress nginx
This file contains hidden or 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
defaults | |
... | |
option forwardfor |
This file contains hidden or 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
controller: | |
service: | |
externalTrafficPolicy: "Local" | |
config: | |
enable-real-ip: "true" | |
compute-full-forwarded-for: "true" | |
forwarded-for-header: X-Forwarded-For | |
use-forwarded-headers: "true" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment