Skip to content

Commit

Permalink
Support proxy provider for vhost directories
Browse files Browse the repository at this point in the history
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 <Proxy "*"> section to apply directives to all
my proxies definitions.
  • Loading branch information
roidelapluie committed Dec 17, 2015
1 parent 791c20f commit a188672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/vhost/_directories.erb
Expand Up @@ -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 -%>
Expand Down

0 comments on commit a188672

Please sign in to comment.