aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/templates
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-04 13:51:46 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-04 13:51:46 +0000
commit4e5bc7b1312b886c4702688733298b366e014e8e (patch)
treece352ab2a712a52d55440d2a094957ffdbe0a2f2 /deployment/websites/templates
parentc2c40ccf9172d74aa39c2cb5cdb3d8d93d709ca1 (diff)
downloadpuppet-4e5bc7b1312b886c4702688733298b366e014e8e.tar
puppet-4e5bc7b1312b886c4702688733298b366e014e8e.tar.gz
puppet-4e5bc7b1312b886c4702688733298b366e014e8e.tar.bz2
puppet-4e5bc7b1312b886c4702688733298b366e014e8e.tar.xz
puppet-4e5bc7b1312b886c4702688733298b366e014e8e.zip
Add websites::maintenance
Diffstat (limited to 'deployment/websites/templates')
-rw-r--r--deployment/websites/templates/vhost_maintenance.conf77
1 files changed, 77 insertions, 0 deletions
diff --git a/deployment/websites/templates/vhost_maintenance.conf b/deployment/websites/templates/vhost_maintenance.conf
new file mode 100644
index 00000000..8debf4b4
--- /dev/null
+++ b/deployment/websites/templates/vhost_maintenance.conf
@@ -0,0 +1,77 @@
+<VirtualHost *:80>
+ ServerName maintenance.mageia.org
+ ServerAlias identity.mageia.org
+ ServerAlias identity-trunk.mageia.org
+ ServerAlias epoll.mageia.org
+ ServerAlias bugs.mageia.org
+ ServerAlias svnweb.mageia.org
+ ServerAlias xymon.mageia.org
+ ServerAlias check.mageia.org
+ ServerAlias wiki.mageia.org
+ ServerAlias gitweb.mageia.org
+ ServerAlias pkgcpan.mageia.org
+ ServerAlias perl.mageia.org
+ ServerAlias tmp.mageia.org
+ ServerAlias people.mageia.org
+ ServerAlias forums.mageia.org
+ ServerAlias forum.mageia.org
+
+ DocumentRoot <%= vhostdir %>
+ CustomLog /var/log/httpd/maintenanc_log combined
+ ErrorLog /var/log/httpd/error_maintenance_log
+
+ <Location />
+ Allow from all
+ </Location>
+
+ <Directory <%= vhostdir %>>
+ Order deny,allow
+ Allow from All
+ AllowOverride None
+ </Directory>
+
+ RewriteEngine On
+ RewriteRule .* <%= vhostdir %>/index.html [L]
+</VirtualHost>
+
+<VirtualHost *:443>
+ SSLEngine on
+ SSLCertificateFile /etc/ssl/wildcard.mageia.org.crt
+ SSLCertificateKeyFile /etc/ssl/wildcard.mageia.org.key
+ SSLCACertificateFile /etc/ssl/wildcard.mageia.org.pem
+ SSLVerifyClient None
+
+ ServerName maintenance.mageia.org
+ ServerAlias identity.mageia.org
+ ServerAlias identity-trunk.mageia.org
+ ServerAlias epoll.mageia.org
+ ServerAlias bugs.mageia.org
+ ServerAlias svnweb.mageia.org
+ ServerAlias xymon.mageia.org
+ ServerAlias check.mageia.org
+ ServerAlias wiki.mageia.org
+ ServerAlias gitweb.mageia.org
+ ServerAlias pkgcpan.mageia.org
+ ServerAlias perl.mageia.org
+ ServerAlias tmp.mageia.org
+ ServerAlias people.mageia.org
+ ServerAlias forums.mageia.org
+ ServerAlias forum.mageia.org
+
+ DocumentRoot <%= vhostdir %>
+ CustomLog /var/log/httpd/maintenanc_log combined
+ ErrorLog /var/log/httpd/error_maintenance_log
+
+ <Location />
+ Allow from all
+ </Location>
+
+ <Directory <%= vhostdir %>>
+ Order deny,allow
+ Allow from All
+ AllowOverride None
+ </Directory>
+
+ RewriteEngine On
+ RewriteRule .* <%= vhostdir %>/index.html [L]
+</VirtualHost>