Commit 33dbf166 authored by mig5's avatar mig5 Committed by mig5

conditionally include NameVirtualHost 443 if mod_ssl is enabled

parent 0b4b2a0c
......@@ -191,7 +191,9 @@ fi
if [ ! -f $AEGIR_HOME/config/apache.conf ]; then
cat > $AEGIR_HOME/config/apache.conf <<EOF
NameVirtualHost *:80
NameVirtualHost *:443
<IfModule ssl_module>
NameVirtualHost *:443
</IfModule>
<IfModule !env_module>
LoadModule env_module modules/mod_env.so
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment