From 5b6c9af9cd9e9f6d9ae321ae8035a51cea5fdb7e Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 1 Nov 2010 19:20:41 +0100 Subject: introduce mod security for proxy --- manifests/vhost/proxy.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests') 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, } -- cgit v1.2.3