web: set WSGIProcessGroup inside Directory
Don't alter server-wide configuration, just kojiweb. Fixes: https://pagure.io/koji/issue/2695
This commit is contained in:
parent
bf34b1fbbf
commit
072cb316d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
<Directory "/usr/share/koji-web/scripts/">
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue