[release-monitoring] Fix the paths in httpd.conf for staging

Moving to f36 changed the default python version, let's adjust the paths to
reflect this.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2022-06-07 12:49:30 +02:00 committed by zlopez
parent 2115b4101c
commit c061f64290

View file

@ -28,7 +28,7 @@ ServerLimit 100
MaxRequestsPerChild 2000
MaxRequestWorkers 100
{% if env == 'staging' %}
<Directory "/usr/local/lib/python3.9/anitya/static/docs/html/">
<Directory "/usr/local/lib/python3.10/anitya/static/docs/html/">
{% else %}
<Directory "/usr/local/lib/python3.8/anitya/static/docs/html/">
{% endif %}
@ -36,7 +36,7 @@ MaxRequestWorkers 100
Require all granted
</Directory>
{% if env == 'staging' %}
<Directory "/usr/local/lib/python3.9/site-packages/anitya/static/">
<Directory "/usr/local/lib/python3.10/site-packages/anitya/static/">
{% else %}
<Directory "/usr/local/lib/python3.8/site-packages/anitya/static/">
{% endif %}
@ -64,8 +64,8 @@ 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/
Alias /docs /usr/local/lib/python3.10/anitya/static/docs/html/
Alias /static /usr/local/lib/python3.10/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/