openscanhub: add WSGIDaemonProcess and WSGIProcessGroup

... options. More specifically it fixes locale related
exceptions.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
Siteshwar Vashisht 2024-04-06 15:04:47 +02:00
parent a616f0f42f
commit 7a7b85e0b8

View file

@ -15,8 +15,8 @@ LogLevel debug
# ServerAlias *
# ServerAlias openscanhub{{ env_suffix }}.fedoraproject.org
# WSGI handler
# WSGIDaemonProcess osh display-name=%{GROUP} locale='C.UTF-8'
# WSGIProcessGroup osh
WSGIDaemonProcess root display-name=%{GROUP} locale='C.UTF-8'
WSGIProcessGroup root
WSGIScriptAlias / /usr/lib/python3.9/site-packages/osh/hub/osh-hub.wsgi