Proxy IP Issue
-
Hi i have a fusion auth self hosted behind
Cloudflare -> Ingress -> FusionAuth
my configuration is :
For testing i have added add_header X-Debug-XFF $http_x_forwarded_for;
When i did curl to the fusionauth domain it gives a correct IP Address
but in logs for logins still the ip is of cloudflare. Anything m missing?
-
@haziqt have you taken a look at the documentation on How To Us a Proxy? There are a few headers you will need to add.
-
@mark-robustelli Hi, sorry for the late reply, but yeah, we have followed the documentation, and after that, we have done testing as well, but still, the issue persists. We are using version 1.57.0
nginx.ingress.kubernetes.io/configuration-snippet: | proxy_set_header X-Forwarded-For $http_cf_connecting_ip; proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Port 443; proxy_set_header X-Forwarded-Server domain.com; proxy_set_header X-Forwarded-Host domain.com; add_header X-Debug-XFF $http_x_forwarded_for;
-