Created
July 3, 2018 20:58
-
-
Save jodell/21197b4533bc6596cff85c72859c459f to your computer and use it in GitHub Desktop.
This file contains 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
# https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/LocationsOfEdgeServers.html | |
curl http://d7uri8nf7uskq.cloudfront.net/tools/list-cloudfront-ips | jq -r '"set_real_ip_from " + ((.CLOUDFRONT_GLOBAL_IP_LIST | .[]), (.CLOUDFRONT_REGIONAL_EDGE_IP_LIST | .[])) + ";"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment