[release-monitoring] Fix static path on staging
The current static path referenced python3.8 in path, which is no longer true on newer Fedora, so we need to have special rule for staging till the production will be updated. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
53a79c70d1
commit
9f05832fa1
1 changed files with 5 additions and 0 deletions
|
@ -63,8 +63,13 @@ LogLevel info
|
|||
TypesConfig /etc/mime.types
|
||||
AddDefaultCharset UTF-8
|
||||
CoreDumpDirectory /tmp
|
||||
{% if env == 'staging' %}
|
||||
Alias /docs /usr/local/lib/python3.9/anitya/static/docs/html/
|
||||
Alias /static /usr/local/lib/python3.9/site-packages/anitya/static/
|
||||
{% else %}
|
||||
Alias /docs /usr/local/lib/python3.8/anitya/static/docs/html/
|
||||
Alias /static /usr/local/lib/python3.8/site-packages/anitya/static/
|
||||
{% endif %}
|
||||
WSGIDaemonProcess anitya display-name=anitya 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