From 547d75966317e7cc458798127cf682ce9f39637d Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 12 May 2015 15:05:42 +1000 Subject: [PATCH] fastly rule to preserve ip --- templates/fastly.template.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 templates/fastly.template.yml diff --git a/templates/fastly.template.yml b/templates/fastly.template.yml new file mode 100644 index 0000000..7a3e332 --- /dev/null +++ b/templates/fastly.template.yml @@ -0,0 +1,5 @@ +run: + - replace: + filename: "/etc/nginx/conf.d/discourse.conf" + from: "$proxy_add_x_forwarded_for" + to: "$http_fastly_client_ip" -- 2.25.1