expose /mnt/koji/compose

Signed-off-by: Dennis Gilmore <ausil@fedoraproject.org>
This commit is contained in:
Dennis Gilmore 2015-07-21 18:33:50 +00:00
parent 7df23e04da
commit 08e2a05c4d
2 changed files with 12 additions and 1 deletions

View file

@ -47,6 +47,15 @@ Alias /mash /mnt/fedora_koji/koji/mash
Require all granted
</Directory>
Alias /compose /mnt/fedora_koji/koji/compose
<Directory /mnt/fedora_koji/koji/compose>
Options Indexes FollowSymLinks
IndexOptions NameWidth=* FancyIndexing
FileETag None
Require all granted
</Directory>
Alias /images /mnt/fedora_koji/koji/images
<Directory /mnt/fedora_koji/koji/images>

View file

@ -41,6 +41,7 @@ acl phx2 src 10.5.125.0/24 10.5.127.0/24
acl repo_url urlpath_regex -i ^/repo/
acl kojipkgs urlpath_regex -i \.(rpm|log|sig)$
acl mash urlpath_regex -i ^/mash/
acl compose urlpath_regex -i ^/compose/
#
# Here is where we use the above acls
@ -68,8 +69,9 @@ icp_access allow all
cache_peer_access kojipkgs allow our_sites
cache_peer_access kojipkgs deny all
# Do not cache mash data
# Do not cache mash or compose data
cache deny mash
cache deny compose
# Do cache all rpms/log/sigs otherwise
cache allow kojipkgs