summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/vhosts/proxy/proxy.erb8
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 -%>