From 387d6ed8a97a156667377dee594059c7ba718a7c Mon Sep 17 00:00:00 2001
From: =?utf8?q?Rapha=C3=ABl=20Gertz?= <git@rapsys.eu>
Date: Sun, 19 Jun 2016 07:19:38 +0200
Subject: [PATCH] Add missing servername, remove trailing one

---
 SOURCES/ihttpd.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/SOURCES/ihttpd.conf b/SOURCES/ihttpd.conf
index 2286c1e..beadf23 100644
--- a/SOURCES/ihttpd.conf
+++ b/SOURCES/ihttpd.conf
@@ -6,6 +6,9 @@ ServerRoot "/etc"
 Listen 80
 Listen 443
 
+# Server name
+ServerName localhost
+
 # Server admin
 ServerAdmin root@localhost
 
@@ -66,7 +69,6 @@ RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
 
 # SSL vhost
 <VirtualHost *:443>
-	ServerName localhost
 	SSLEngine on
 	SSLCertificateFile /etc/pki/tls/certs/ihttpd.pem
 	SSLCertificateKeyFile /etc/pki/tls/private/ihttpd.pem
-- 
2.41.3