diff options
Diffstat (limited to 'modules/mga-mirrors/templates/mirrors_vhost.conf')
-rw-r--r-- | modules/mga-mirrors/templates/mirrors_vhost.conf | 15 |
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> + |