From 08e2a05c4df8450ebf8a8040ac40542f81120327 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 21 Jul 2015 18:33:50 +0000 Subject: [PATCH] expose /mnt/koji/compose Signed-off-by: Dennis Gilmore --- roles/kojipkgs/files/kojipkgs.conf | 9 +++++++++ roles/kojipkgs/files/squid.conf | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/roles/kojipkgs/files/kojipkgs.conf b/roles/kojipkgs/files/kojipkgs.conf index 1a75a44aad..640e7dcbe1 100644 --- a/roles/kojipkgs/files/kojipkgs.conf +++ b/roles/kojipkgs/files/kojipkgs.conf @@ -47,6 +47,15 @@ Alias /mash /mnt/fedora_koji/koji/mash Require all granted +Alias /compose /mnt/fedora_koji/koji/compose + + + Options Indexes FollowSymLinks + IndexOptions NameWidth=* FancyIndexing + FileETag None + Require all granted + + Alias /images /mnt/fedora_koji/koji/images diff --git a/roles/kojipkgs/files/squid.conf b/roles/kojipkgs/files/squid.conf index 38c138c26c..92b9218335 100644 --- a/roles/kojipkgs/files/squid.conf +++ b/roles/kojipkgs/files/squid.conf @@ -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