summaryrefslogtreecommitdiff
path: root/manifests/vhost/proxy.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-11-01 19:20:41 +0100
committermh <mh@immerda.ch>2010-11-01 19:20:41 +0100
commit5b6c9af9cd9e9f6d9ae321ae8035a51cea5fdb7e (patch)
tree5c819d26141acc36ae7285e504ea7fcf04876c2b /manifests/vhost/proxy.pp
parente69dac911dc743bb94c0b3ce34159e9a0dec9321 (diff)
introduce mod security for proxy
Diffstat (limited to 'manifests/vhost/proxy.pp')
-rw-r--r--manifests/vhost/proxy.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/vhost/proxy.pp b/manifests/vhost/proxy.pp
index 940cf55..106f5d6 100644
--- a/manifests/vhost/proxy.pp
+++ b/manifests/vhost/proxy.pp
@@ -26,6 +26,7 @@ define apache::vhost::proxy(
$target_url,
$server_admin = 'absent',
$logmode = 'default',
+ $mod_security = false,
$ssl_mode = false
){
# create vhost configuration file
@@ -44,7 +45,7 @@ define apache::vhost::proxy(
logmode => $logmode,
allow_override => $allow_override,
run_mode => 'normal',
- mod_security => false,
+ mod_security => $mod_security,
options => $target_url,
ssl_mode => $ssl_mode,
}