projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fdded4
)
fastly rule to preserve ip
author
Sam
<sam.saffron@gmail.com>
Tue, 12 May 2015 05:05:42 +0000
(15:05 +1000)
committer
Sam
<sam.saffron@gmail.com>
Tue, 12 May 2015 05:12:24 +0000
(15:12 +1000)
templates/fastly.template.yml
[new file with mode: 0644]
patch
|
blob
diff --git a/templates/fastly.template.yml
b/templates/fastly.template.yml
new file mode 100644
(file)
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"