[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:
parent
2115b4101c
commit
c061f64290
1 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ ServerLimit 100
|
||||||
MaxRequestsPerChild 2000
|
MaxRequestsPerChild 2000
|
||||||
MaxRequestWorkers 100
|
MaxRequestWorkers 100
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
<Directory "/usr/local/lib/python3.9/anitya/static/docs/html/">
|
<Directory "/usr/local/lib/python3.10/anitya/static/docs/html/">
|
||||||
{% else %}
|
{% else %}
|
||||||
<Directory "/usr/local/lib/python3.8/anitya/static/docs/html/">
|
<Directory "/usr/local/lib/python3.8/anitya/static/docs/html/">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -36,7 +36,7 @@ MaxRequestWorkers 100
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
<Directory "/usr/local/lib/python3.9/site-packages/anitya/static/">
|
<Directory "/usr/local/lib/python3.10/site-packages/anitya/static/">
|
||||||
{% else %}
|
{% else %}
|
||||||
<Directory "/usr/local/lib/python3.8/site-packages/anitya/static/">
|
<Directory "/usr/local/lib/python3.8/site-packages/anitya/static/">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -64,8 +64,8 @@ TypesConfig /etc/mime.types
|
||||||
AddDefaultCharset UTF-8
|
AddDefaultCharset UTF-8
|
||||||
CoreDumpDirectory /tmp
|
CoreDumpDirectory /tmp
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
Alias /docs /usr/local/lib/python3.9/anitya/static/docs/html/
|
Alias /docs /usr/local/lib/python3.10/anitya/static/docs/html/
|
||||||
Alias /static /usr/local/lib/python3.9/site-packages/anitya/static/
|
Alias /static /usr/local/lib/python3.10/site-packages/anitya/static/
|
||||||
{% else %}
|
{% else %}
|
||||||
Alias /docs /usr/local/lib/python3.8/anitya/static/docs/html/
|
Alias /docs /usr/local/lib/python3.8/anitya/static/docs/html/
|
||||||
Alias /static /usr/local/lib/python3.8/site-packages/anitya/static/
|
Alias /static /usr/local/lib/python3.8/site-packages/anitya/static/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue