diff --git a/roles/openshift-apps/release-monitoring/templates/httpd.conf b/roles/openshift-apps/release-monitoring/templates/httpd.conf index 55b3e58a18..bd7ac461f0 100644 --- a/roles/openshift-apps/release-monitoring/templates/httpd.conf +++ b/roles/openshift-apps/release-monitoring/templates/httpd.conf @@ -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