summaryrefslogtreecommitdiff
path: root/puppet/modules/apache/templates/vhosts/proxy
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/apache/templates/vhosts/proxy')
-rw-r--r--puppet/modules/apache/templates/vhosts/proxy/partial.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/apache/templates/vhosts/proxy/partial.erb b/puppet/modules/apache/templates/vhosts/proxy/partial.erb
new file mode 100644
index 00000000..0eecf820
--- /dev/null
+++ b/puppet/modules/apache/templates/vhosts/proxy/partial.erb
@@ -0,0 +1,8 @@
+ <Proxy *>
+ Order deny,allow
+ Allow from all
+<%= scope.function_template(['apache/vhosts/partials/authentication.erb']) %>
+ </Proxy>
+ ProxyRequests Off
+ ProxyPass / <%= @options %>/
+ ProxyPassReverse / <%= @options %>/