It is a shell script that takes the ip band of cloudfront and elb and generates the nginx conf file.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
generator_real_ip.sh
sample_real_ip.conf

README.md

Make Nginx real-ip Conf

DESC

It is a shell script that takes the ip band of cloudfront and elb and generates the nginx conf file.

Dependency

jq

HOW TO RUN

git clone https://github.com/akageun/generator-nginx-real-ip-conf
chmod 755 ./generator_real_ip.sh
sudo ./generator_real_ip.sh

HOW TO USE

Add 'include /etc/nginx/conf.d/sample_real_ip.inc;' in your nginx conf file.

TODO

-[ ] i will change this source to "python 3"