commit 1def58382ae7a77ea79c1a1bdafb909511e572aa
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 15 12:16:26 2020 +0100
Update apache kojiweb.conf
roles/koji_hub/templates/kojiweb.conf.j2 | 20 ++++++++++++++++----
1 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/roles/koji_hub/templates/kojiweb.conf.j2
b/roles/koji_hub/templates/kojiweb.conf.j2
index 347537a..4e8fe71 100644
--- a/roles/koji_hub/templates/kojiweb.conf.j2
+++ b/roles/koji_hub/templates/kojiweb.conf.j2
@@ -17,6 +17,8 @@ Alias /robots.txt /var/www/html/robots.txt
<Directory "/usr/share/koji-web/scripts/">
Options ExecCGI
SetHandler wsgi-script
+ WSGIApplicationGroup %{GLOBAL}
+ WSGIScriptReloading Off
Require all granted
</Directory>
@@ -63,13 +65,24 @@ Alias /buildgroups "/mnt/koji/buildgroups/"
Require all granted
</Directory>
-Alias /compose "/mnt/koji/compose/"
+Alias /kojira "/mnt/koji/kojira/"
+<Directory "/mnt/koji/kojira/">
+ Options Indexes FollowSymLinks
+ Require all granted
+</Directory>
+Alias /compose "/mnt/koji/compose/"
<Directory "/mnt/koji/compose/">
Options Indexes FollowSymLinks
Require all granted
</Directory>
+Alias /ostree "/mnt/koji/ostree/"
+<Directory "/mnt/koji/ostree/">
+ Options Indexes FollowSymLinks
+ Require all granted
+</Directory>
+
Alias /packages "/mnt/koji/packages/"
<Directory "/mnt/koji/packages/">
@@ -77,10 +90,9 @@ Alias /packages "/mnt/koji/packages/"
Require all granted
</Directory>
-# from kojipkgs
-Alias /kojifiles "/mnt/koji/"
+Alias /repos-dist "/mnt/koji/repos-dist/"
-<Directory "/mnt/koji/">
+<Directory "/mnt/koji/repos-dist/">
Options Indexes FollowSymLinks
Require all granted
</Directory>