diff options
author | mh <mh@immerda.ch> | 2010-11-04 12:01:18 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-11-04 12:01:18 +0100 |
commit | c8c3719c722c23dc5c4187eaf487947340a95478 (patch) | |
tree | 7bf7877a0d91a13483bec8d7bcd01b89d1b0ea85 /templates/vhosts | |
parent | ead90d3f85bfd3b6d2737643b2ca1fcd7441f4b7 (diff) |
allow setting of additional options for proxy vhosts
Diffstat (limited to 'templates/vhosts')
-rw-r--r-- | templates/vhosts/proxy/proxy.erb | 8 |
1 files changed, 8 insertions, 0 deletions
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 -%> </VirtualHost> <%- end -%> @@ -74,5 +78,9 @@ ProxyRequests Off ProxyPass / <%= options %>/ ProxyPassReverse / <%= options %>/ + + <%- unless additional_options.to_s == 'absent' then -%> + <%= additional_options %> + <%- end -%> </VirtualHost> <%- end -%> |