]> Raphaƫl G. Git Repositories - ihttpd/blobdiff - SOURCES/ihttpd.conf
Add dependencies to avoid race conditions and be sure we start in time
[ihttpd] / SOURCES / ihttpd.conf
index 2286c1eeb9251f7db6f0995d03463c64e88d47aa..beadf2363d40914194f78711c4bab0f4d17574dc 100644 (file)
@@ -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