Skip to content

Instantly share code, notes, and snippets.

🛰
Working from Moon

Bajpan Gosh bajpangosh

🛰
Working from Moon
Block or report user

Report or block bajpangosh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@AidasK
AidasK / README.md
Last active Dec 8, 2019
Automatic update of CloudFlare IP addresses in nginx
View README.md

This script is a copy of https://marekbosman.com/site/automatic-update-of-cloudflare-ip-addresses-in-nginx/

How to use?

wget https://gist.githubusercontent.com/AidasK/27aa5d6f918eca12d95427178b5aaa59/raw/e3ce185de43d89c237e081d3f56e5a79024b4115/cloudflare-update-ip-ranges.sh -P /usr/local/bin/
chmod +x /usr/local/bin/cloudflare-update-ip-ranges.sh

add include /etc/nginx/cloudflare; this line to /etc/nginx/nginx.conf (above include /etc/nginx/conf.d/*.conf;)

You can’t perform that action at this time.