Created
May 30, 2024 13:39
-
-
Save wilfredjonathanjames/5899f841d9dfea9b1437efb4cb00eea2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(curl -s https://www.cloudflare.com/ips-v{4,6} | sed "s|^|allow |g" | sed "s|\$|;|g" && printf "\ndeny all;\n") > /etc/nginx/cloudflare-whitelist.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment