summaryrefslogtreecommitdiff
path: root/templates/vhosts/proxy/partial.erb
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-05-24 10:19:28 -0400
committerMicah <micah@leap.se>2016-05-24 10:19:28 -0400
commit807877b736c5f56689229b31024861f19a9b0ac6 (patch)
tree95fed058eaa50765bf486ccc59e46123666acabe /templates/vhosts/proxy/partial.erb
Squashed 'puppet/modules/apache/' content from commit 415e950
git-subtree-dir: puppet/modules/apache git-subtree-split: 415e9504f99dca3ccaa4dfd389dde24ad9d0e01c
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 %>/