From c8c3719c722c23dc5c4187eaf487947340a95478 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 4 Nov 2010 12:01:18 +0100 Subject: allow setting of additional options for proxy vhosts --- templates/vhosts/proxy/proxy.erb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'templates/vhosts/proxy/proxy.erb') diff --git a/templates/vhosts/proxy/proxy.erb b/templates/vhosts/proxy/proxy.erb index 5d94e69..3251b7d 100644 --- a/templates/vhosts/proxy/proxy.erb +++ b/templates/vhosts/proxy/proxy.erb @@ -37,6 +37,10 @@ ProxyPass / <%= options %>/ ProxyPassReverse / <%= options %>/ <%- end -%> + + <%- unless additional_options.to_s == 'absent' then -%> + <%= additional_options %> + <%- end -%> <%- end -%> @@ -74,5 +78,9 @@ ProxyRequests Off ProxyPass / <%= options %>/ ProxyPassReverse / <%= options %>/ + + <%- unless additional_options.to_s == 'absent' then -%> + <%= additional_options %> + <%- end -%> <%- end -%> -- cgit v1.2.3