Bodhi: fix the static files in prod
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
7256690036
commit
4a90e4d458
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ data:
|
|||
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] }} {% if env == "staging" %}/srv/bodhi/bodhi/server/static/{% else %}/usr/lib/python3.7/site-packages/bodhi/server/static/{% endif %}
|
||||
WSGIDaemonProcess bodhi display-name=bodhi processes=2 threads=2 maximum-requests=1000 home=/httpdir
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
WSGISocketPrefix run/wsgi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue