aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-mirrors/templates
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mageia.org>2010-11-04 18:38:47 +0000
committerOlivier Thauvin <nanardon@mageia.org>2010-11-04 18:38:47 +0000
commit60f67a21e2785e96fc00a712e5dbdb2015eea202 (patch)
treea0b06a76fb7273c330d402b0d01c7cc74e1f4a52 /modules/mga-mirrors/templates
parenta8ecd91ce0a3a0324e380e6edf1754b6fd6c1241 (diff)
downloadpuppet-60f67a21e2785e96fc00a712e5dbdb2015eea202.tar
puppet-60f67a21e2785e96fc00a712e5dbdb2015eea202.tar.gz
puppet-60f67a21e2785e96fc00a712e5dbdb2015eea202.tar.bz2
puppet-60f67a21e2785e96fc00a712e5dbdb2015eea202.tar.xz
puppet-60f67a21e2785e96fc00a712e5dbdb2015eea202.zip
- add config for mga-mirrors
Diffstat (limited to 'modules/mga-mirrors/templates')
-rw-r--r--modules/mga-mirrors/templates/mirrors_vhost.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/mga-mirrors/templates/mirrors_vhost.conf b/modules/mga-mirrors/templates/mirrors_vhost.conf
new file mode 100644
index 00000000..f31ed84b
--- /dev/null
+++ b/modules/mga-mirrors/templates/mirrors_vhost.conf
@@ -0,0 +1,15 @@
+<VirtualHost *:80>
+ ServerName identity.<%= domain %>
+ # Serve static content directly
+ DocumentRoot /dev/null
+
+ Alias / /usr/bin/mga_mirrors_fastcgi.pl/
+ FastCgiServer /usr/bin/mga_mirrors_fastcgi.pl -processes 4 -idle-timeout 30
+
+ <Directory <%= catdap_location %>/script>
+ Options +ExecCGI
+ SetHandler fcgid-script
+ Allow from all
+ </Directory>
+</VirtualHost>
+