From cd384d4f6d9cff52b47f19a9b4cbf0c65e203d62 Mon Sep 17 00:00:00 2001 From: Matt Palmer Date: Sat, 31 Oct 2015 08:56:33 +1100 Subject: [PATCH] Fix broken syntax in cloudflare template My assumption is that CF used to send their IP list without a trailing newline, and they've recently fixed that, causing riking's hack to emit an *extra* newline, which caused the reported problem. --- templates/cloudflare.template.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/cloudflare.template.yml b/templates/cloudflare.template.yml index 6d5e953..df8a00d 100644 --- a/templates/cloudflare.template.yml +++ b/templates/cloudflare.template.yml @@ -6,7 +6,6 @@ run: #!/bin/bash -e # Download list of CloudFlare ips wget https://www.cloudflare.com/ips-v4 -O - > /tmp/cloudflare-ips - echo >> /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=$(