How to get X-Real-IP working with Digital Ocean?
Have an issue with Digital Ocean in which I can't access X-Real-IP.
For reference,
https://stackoverflow.com/questions/51003905/how-to-get-real-ip-address-from-digital-ocean-load-balancer-nginx-node-scr https://www.digitalocean.com/community/questions/how-to-obtain-user-s-ip-address-when-using-private-ip-for-reverse-proxy https://www.digitalocean.com/community/questions/how-do-i-forward-client-ip-instead-of-proxy-ip-in-nginx-reverse-proxy
Hi, I have been running my testing on DigitalOcean, and have no problem getting the real IP.
https://https-portal-test.steveltn.me/
To make it simpler, my application is just an "echo" which shows everything it gets. You can see the x-real-ip is the same as your computer's public IP.