diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-10-06 18:16:50 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-10-06 18:16:50 +0000 |
commit | c2658e1b31c3ef767fb21e1955f514453732523e (patch) | |
tree | bdf992c47e35595b69edffaf9d7b207cc5d6d202 | |
parent | 6c7978fa6c916dbe443a662abf5df79af0eb823c (diff) | |
download | puppet-c2658e1b31c3ef767fb21e1955f514453732523e.tar puppet-c2658e1b31c3ef767fb21e1955f514453732523e.tar.gz puppet-c2658e1b31c3ef767fb21e1955f514453732523e.tar.bz2 puppet-c2658e1b31c3ef767fb21e1955f514453732523e.tar.xz puppet-c2658e1b31c3ef767fb21e1955f514453732523e.zip |
Add content parameter to apache::vhost::reverse_proxy
-rw-r--r-- | modules/apache/manifests/vhost/reverse_proxy.pp | 3 | ||||
-rw-r--r-- | modules/apache/templates/vhost_reverse_proxy.conf | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/modules/apache/manifests/vhost/reverse_proxy.pp b/modules/apache/manifests/vhost/reverse_proxy.pp index a6570c2f..a32aaff0 100644 --- a/modules/apache/manifests/vhost/reverse_proxy.pp +++ b/modules/apache/manifests/vhost/reverse_proxy.pp @@ -1,6 +1,7 @@ define apache::vhost::reverse_proxy($url, $vhost = false, - $use_ssl = false) { + $use_ssl = false, + $content = '') { include apache::mod::proxy apache::vhost::base { $name: use_ssl => $use_ssl, diff --git a/modules/apache/templates/vhost_reverse_proxy.conf b/modules/apache/templates/vhost_reverse_proxy.conf index 23dc7545..1488c682 100644 --- a/modules/apache/templates/vhost_reverse_proxy.conf +++ b/modules/apache/templates/vhost_reverse_proxy.conf @@ -1,3 +1,5 @@ +<%= content %> + ProxyRequests Off ProxyPreserveHost On |