summaryrefslogtreecommitdiff
path: root/templates/vhosts/proxy/partial.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/proxy/partial.erb')
-rw-r--r--templates/vhosts/proxy/partial.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/vhosts/proxy/partial.erb b/templates/vhosts/proxy/partial.erb
new file mode 100644
index 00000000..0eecf820
--- /dev/null
+++ b/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 %>/