It is a shell script that takes the ip band of cloudfront and elb and generates the nginx conf file.
git clone https://github.com/akageun/generator-nginx-real-ip-conf
chmod 755 ./generator_real_ip.sh
sudo ./generator_real_ip.sh
Add 'include /etc/nginx/conf.d/sample_real_ip.inc;' in your nginx conf file.
-[ ] i will change this source to "python 3"