Getting real visitor IP address with Nginx and CloudFlare
If you need to get real IP address of the visitor instead of getting IP addresses from CloudFlare - follow the steps in this tutorial. My distribution of choice was in this case CentOS 8. If you have different distribution some commands may be different. 1. Edit Nginx configuration Open…