summaryrefslogtreecommitdiff
path: root/config/nginx.d/export_env.erb
diff options
context:
space:
mode:
Diffstat (limited to 'config/nginx.d/export_env.erb')
-rw-r--r--config/nginx.d/export_env.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/nginx.d/export_env.erb b/config/nginx.d/export_env.erb
new file mode 100644
index 0000000..4e5db9a
--- /dev/null
+++ b/config/nginx.d/export_env.erb
@@ -0,0 +1,5 @@
+<%
+ENV.each do |name, value|
+ puts "fastcgi_param #{name} '#{value}';" unless name.start_with?("OPENSHIFT_");
+end
+%> \ No newline at end of file