From 2274dadb0748328c51e99b4ad59f0844e5f5be20 Mon Sep 17 00:00:00 2001 From: Siteshwar Vashisht Date: Thu, 28 Mar 2024 15:06:19 +0100 Subject: [PATCH] openscanhub: use `ServerName` instead of `ServerAlias` ... in the httpd configurations. The httpd container requires it to reliably determine server's fully qualified domain name. Signed-off-by: Siteshwar Vashisht --- .../openshift-apps/openscanhub/templates/osh-hub-httpd.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/openshift-apps/openscanhub/templates/osh-hub-httpd.conf b/roles/openshift-apps/openscanhub/templates/osh-hub-httpd.conf index 023c7edd35..6b5eb0c63f 100644 --- a/roles/openshift-apps/openscanhub/templates/osh-hub-httpd.conf +++ b/roles/openshift-apps/openscanhub/templates/osh-hub-httpd.conf @@ -1,5 +1,4 @@ -# TODO: Set a servername for staging and production servers. -# ServerName * +ServerName openscanhub{{ env_suffix }}.fedoraproject.org WSGISocketPrefix /var/run/wsgi # LoadModule dumpio_module modules/mod_dumpio.so @@ -14,7 +13,7 @@ LogLevel debug # ServerAlias * - ServerAlias openscanhub{{ env_suffix }}.fedoraproject.org + # ServerAlias openscanhub{{ env_suffix }}.fedoraproject.org # WSGI handler # WSGIDaemonProcess osh display-name=%{GROUP} locale='C.UTF-8' # WSGIProcessGroup osh