From a818d432efa634722f2030466ce7f5e5d83abd11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Thu, 10 Oct 2019 12:30:43 +0200 Subject: [PATCH] Bodhi's static files dir is now versionned MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/bodhi2/base/templates/configmap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bodhi2/base/templates/configmap.yml b/roles/bodhi2/base/templates/configmap.yml index cb37e3f4c0..ff3aa76a78 100644 --- a/roles/bodhi2/base/templates/configmap.yml +++ b/roles/bodhi2/base/templates/configmap.yml @@ -98,7 +98,7 @@ data: AddDefaultCharset UTF-8 CoreDumpDirectory /tmp Alias /docs /usr/share/doc/bodhi-docs/html/ - Alias /static /usr/lib/python3.7/site-packages/bodhi/server/static/ + Alias /static/{{ bodhi_version.split('-')[0] }} /usr/lib/python3.7/site-packages/bodhi/server/static/ WSGIDaemonProcess bodhi display-name=bodhi processes=2 threads=2 maximum-requests=1000 home=/httpdir WSGIApplicationGroup %{GLOBAL} WSGISocketPrefix run/wsgi