Last active
July 27, 2025 19:52
-
-
Save Znuff/864b78fbe7a9d048d4fb568d2abd86ff 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
#!/bin/bash | |
# simple one-liner to update the cloudflare IPs for `set_real_ip_from` | |
{ curl -s https://www.cloudflare.com/ips-v4; echo; curl -s https://www.cloudflare.com/ips-v6; } | sed '/^$/d' | sed 's/^/set_real_ip_from /' | sed 's/$/;/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment