mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 12:32:50 +08:00
[release-monitoring] Read docs and static from correct location
As the python version changed in fedora 40, we need to adjust the httpd conf to read the files from correct location. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
@@ -55,8 +55,13 @@ LogLevel info
|
||||
TypesConfig /etc/mime.types
|
||||
AddDefaultCharset UTF-8
|
||||
CoreDumpDirectory /tmp
|
||||
{% if env == "staging" %}
|
||||
Alias /docs /usr/local/lib/python3.12/site-packages/anitya/static/docs/html/
|
||||
Alias /static /usr/local/lib/python3.12/site-packages/anitya/static/
|
||||
{% else %}
|
||||
Alias /docs /usr/local/lib/python3.11/site-packages/anitya/static/docs/html/
|
||||
Alias /static /usr/local/lib/python3.11/site-packages/anitya/static/
|
||||
{% endif %}
|
||||
WSGIDaemonProcess anitya display-name=anitya processes=2 threads=2 maximum-requests=1000 home=/httpdir
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
WSGISocketPrefix run/wsgi
|
||||
|
||||
Reference in New Issue
Block a user