aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/vhost_repository.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem/templates/vhost_repository.conf')
-rw-r--r--modules/buildsystem/templates/vhost_repository.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/vhost_repository.conf b/modules/buildsystem/templates/vhost_repository.conf
new file mode 100644
index 00000000..5f2b17cf
--- /dev/null
+++ b/modules/buildsystem/templates/vhost_repository.conf
@@ -0,0 +1,15 @@
+<%
+repository_root = "/distrib/bootstrap"
+%>
+
+<VirtualHost *:80>
+ ServerName repository.<%= domain %>
+ DocumentRoot <%= repository_root %>
+ <Directory <%= repository_root %>>
+ Order deny,allow
+ Deny from all
+ Allow from localhost, 127.0.0.1
+ Allow from .<%= domain %>
+ Options Indexes FollowSymLinks
+ </Directory>
+</VirtualHost>