Actually the static files are shipped with Bodhi

Also set the python version right.

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2022-06-09 13:32:54 +02:00
parent 8a9eb77bbd
commit 186edfca9b
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -31,7 +31,7 @@ MaxRequestWorkers 100
AllowOverride None
Require all granted
</Directory>
<Directory "/usr/lib/python3.8/site-packages/bodhi/server/static/">
<Directory "/usr/lib/python3.10/site-packages/bodhi/server/static/">
AllowOverride None
Require all granted
</Directory>
@ -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