From 072cb316d3138865f8cc2163fde59ededc362c47 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Mar 02 2021 14:33:16 +0000 Subject: web: set WSGIProcessGroup inside Directory Don't alter server-wide configuration, just kojiweb. Fixes: https://pagure.io/koji/issue/2695 --- diff --git a/www/conf/kojiweb.conf b/www/conf/kojiweb.conf index 111fec0..65fd87e 100644 --- a/www/conf/kojiweb.conf +++ b/www/conf/kojiweb.conf @@ -5,11 +5,11 @@ Alias /koji "/usr/share/koji-web/scripts/wsgi_publisher.py" # Python 3 Cheetah expectes unicode everywhere, apache's default lang is C # which is not sufficient to open our templates WSGIDaemonProcess koji lang=C.UTF-8 -WSGIProcessGroup koji Options ExecCGI SetHandler wsgi-script + WSGIProcessGroup koji WSGIApplicationGroup %{GLOBAL} # ^ works around an OpenSSL issue # see: https://cryptography.io/en/latest/faq/#starting-cryptography-using-mod-wsgi-produces-an-internalerror-during-a-call-in-register-osrandom-engine