We proxied some nginx-ingress endpoint to cloudflare, we need to capture the actual source IP and white list that in nginx ingresss.
Now we have enabled proxy in nginx ingress which is providing the Client IP access the ingress endpoints via ELB. We need to capture both ELB side traffic and Cloudflare Client IP as well. I tried enabling the real_ip to CC_connnecting_ip which is not working and it is impacting existing one (ELB side not working)
Is there any way to get both the Source IP or can we enable the cloudflare flag only specific to the ingress which is routed through cloudflare.
I need help on this.