blob: 1ebd179aa4f092b9c2e83487ace8e45aad09fde3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<%
repository_root = "/distrib/bootstrap"
# FIXME: add a reverse lookup for IPv6 adresses
# allowed hosts are: valstar, ecosse, jonund
buildsystem_nodes = "2a02:2178:2:7::3/64 2a02:2178:2:7::4/64 2a02:2178:2:7::5/64"
%>
<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 <%= buildsystem_nodes %>
Allow from .<%= domain %>
Options Indexes FollowSymLinks
</Directory>
</VirtualHost>
|