From a18867222b0ef901ce9afc8550fd7440a33fecdb Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Thu, 17 Dec 2015 11:01:43 +0100 Subject: [PATCH] Support proxy provider for vhost directories This simple commmit adds the ability to use a proxy provider for directories. http://httpd.apache.org/docs/current/sections.html My use case is to have a section to apply directives to all my proxies definitions. --- templates/vhost/_directories.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/vhost/_directories.erb b/templates/vhost/_directories.erb index c95fda5a15..49a9bd9011 100644 --- a/templates/vhost/_directories.erb +++ b/templates/vhost/_directories.erb @@ -17,7 +17,7 @@ <%- end -%> <%- end -%> <%- if directory['path'] and directory['path'] != '' -%> - <%- if directory['provider'] and directory['provider'].match('(directory|location|files)') -%> + <%- if directory['provider'] and directory['provider'].match('(directory|location|files|proxy)') -%> <%- if /^(.*)match$/ =~ directory['provider'] -%> <%- provider = $1.capitalize + 'Match' -%> <%- else -%>