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 <svashisht@redhat.com>
This commit is contained in:
Siteshwar Vashisht 2024-03-28 15:06:19 +01:00 committed by kevin
parent be00c5f65e
commit 2274dadb07

View file

@ -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
<VirtualHost *:8080>
# 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