From: Matt Palmer Date: Wed, 28 Sep 2016 15:03:22 +0000 (+1000) Subject: Use new Cloudflare URLs for IP address lists X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c857317971f796798615180ea558ec08269b046c;p=discourse_docker.git Use new Cloudflare URLs for IP address lists --- diff --git a/templates/cloudflare.template.yml b/templates/cloudflare.template.yml index df8a00d..45f29e2 100644 --- a/templates/cloudflare.template.yml +++ b/templates/cloudflare.template.yml @@ -5,8 +5,8 @@ run: contents: | #!/bin/bash -e # Download list of CloudFlare ips - wget https://www.cloudflare.com/ips-v4 -O - > /tmp/cloudflare-ips - wget https://www.cloudflare.com/ips-v6 -O - >> /tmp/cloudflare-ips + wget https://www.cloudflare.com/ips-v4/ -O - > /tmp/cloudflare-ips + wget https://www.cloudflare.com/ips-v6/ -O - >> /tmp/cloudflare-ips # Make into nginx commands and escape for inclusion into sed append command CONTENTS=$(