aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-03-15 15:29:02 +0000
committerNicolas Vigier <boklm@mageia.org>2011-03-15 15:29:02 +0000
commit8819b75f7f3e071645ea58da45b30f9e5209f8cc (patch)
tree2d388c1cd7bdc31a4a997ae115c74f7cac32264e
parentedb8a7d0959c56e1cdf2d932a6eb10784265b648 (diff)
downloadpuppet-8819b75f7f3e071645ea58da45b30f9e5209f8cc.tar
puppet-8819b75f7f3e071645ea58da45b30f9e5209f8cc.tar.gz
puppet-8819b75f7f3e071645ea58da45b30f9e5209f8cc.tar.bz2
puppet-8819b75f7f3e071645ea58da45b30f9e5209f8cc.tar.xz
puppet-8819b75f7f3e071645ea58da45b30f9e5209f8cc.zip
redirect forum.mageia.org (in http and https) to https://forums.mageia.org
-rw-r--r--manifests/nodes.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/nodes.pp b/manifests/nodes.pp
index e7760fb1..7391851f 100644
--- a/manifests/nodes.pp
+++ b/manifests/nodes.pp
@@ -74,6 +74,14 @@ node alamut {
}
apache::vhost_redirect_ssl { "forums.$domain": }
+ vhost_redirect { "forum.$domain":
+ url => "https://forums.$domain/",
+ }
+ vhost_redirect { "ssl_forum.$domain":
+ url => "https://forums.$domain/",
+ vhost => "forum.$domain",
+ use_ssl => true,
+ }
# connect to ssl so the proxy do not shoke if trying to
# enforce ssl ( note that this has not been tested, maybe this