From 7a7b85e0b84fe5b72f811361749511ea7cf130a1 Mon Sep 17 00:00:00 2001 From: Siteshwar Vashisht Date: Sat, 6 Apr 2024 15:04:47 +0200 Subject: [PATCH] openscanhub: add `WSGIDaemonProcess` and `WSGIProcessGroup` ... options. More specifically it fixes locale related exceptions. Signed-off-by: Siteshwar Vashisht --- roles/openshift-apps/openscanhub/templates/osh-hub-httpd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/openscanhub/templates/osh-hub-httpd.conf b/roles/openshift-apps/openscanhub/templates/osh-hub-httpd.conf index 6b5eb0c63f..1d1e73cc22 100644 --- a/roles/openshift-apps/openscanhub/templates/osh-hub-httpd.conf +++ b/roles/openshift-apps/openscanhub/templates/osh-hub-httpd.conf @@ -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