akageun / generator-nginx-real-ip-conf

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

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


Languages

Language:Shell 100.0%