From: Raphaƫl Gertz Date: Sun, 19 Jun 2016 05:19:38 +0000 (+0200) Subject: Add missing servername, remove trailing one X-Git-Tag: 2.4.38-6~19 X-Git-Url: https://git.rapsys.eu/ihttpd/commitdiff_plain/387d6ed8a97a156667377dee594059c7ba718a7c Add missing servername, remove trailing one --- 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 - ServerName localhost SSLEngine on SSLCertificateFile /etc/pki/tls/certs/ihttpd.pem SSLCertificateKeyFile /etc/pki/tls/private/ihttpd.pem