From 186edfca9b595a893d5ccbcde44e44f8f5f87545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Thu, 9 Jun 2022 13:32:54 +0200 Subject: [PATCH] Actually the static files are shipped with Bodhi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also set the python version right. Signed-off-by: Aurélien Bompard --- roles/bodhi2/base/templates/httpd.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/bodhi2/base/templates/httpd.conf.j2 b/roles/bodhi2/base/templates/httpd.conf.j2 index e11f7430f2..5e780bc5ec 100644 --- a/roles/bodhi2/base/templates/httpd.conf.j2 +++ b/roles/bodhi2/base/templates/httpd.conf.j2 @@ -31,7 +31,7 @@ MaxRequestWorkers 100 AllowOverride None Require all granted - + AllowOverride None Require all granted @@ -56,7 +56,7 @@ TypesConfig /etc/mime.types AddDefaultCharset UTF-8 CoreDumpDirectory /tmp Alias /docs /usr/share/doc/bodhi-docs/html/ -Alias /static/v{{ bodhi_version.split('-')[0] }} /srv/bodhi/bodhi/server/static/ +Alias /static/v{{ bodhi_version.split('-')[0] }} /usr/lib/python3.10/site-packages/bodhi/server/static/ WSGIDaemonProcess bodhi display-name=bodhi processes=4 threads=1 maximum-requests=500 home=/httpdir request-timeout=90 WSGIApplicationGroup %{GLOBAL} WSGISocketPrefix run/wsgi