create a apache2-specific SSL configuration file
This commit is contained in:
parent
c39d6991bf
commit
b1a6bcf43e
|
@ -277,6 +277,7 @@ debian/rules -text
|
||||||
debian/templates -text
|
debian/templates -text
|
||||||
etc/alternc/apache-ssl.conf -text
|
etc/alternc/apache-ssl.conf -text
|
||||||
etc/alternc/apache.conf -text
|
etc/alternc/apache.conf -text
|
||||||
|
etc/alternc/apache2-ssl.conf -text
|
||||||
etc/alternc/apache2.conf -text
|
etc/alternc/apache2.conf -text
|
||||||
etc/alternc/menulist.txt -text
|
etc/alternc/menulist.txt -text
|
||||||
etc/alternc/phpmyadmin.inc.php -text
|
etc/alternc/phpmyadmin.inc.php -text
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
<VirtualHost *:443>
|
||||||
|
SSLEngine on
|
||||||
|
SSLCertificateFile /etc/alternc/apache.pem
|
||||||
|
DocumentRoot /var/alternc/bureau
|
||||||
|
Include /etc/alternc/bureau.conf
|
||||||
|
</VirtualHost>
|
|
@ -220,7 +220,7 @@ if [ -x /usr/sbin/apache2 ]; then
|
||||||
s="apache2"
|
s="apache2"
|
||||||
fi
|
fi
|
||||||
if [ ! -h /etc/apache2/conf.d/alternc-ssl.conf ] && [ -e /etc/apache2/conf.d/ ]; then
|
if [ ! -h /etc/apache2/conf.d/alternc-ssl.conf ] && [ -e /etc/apache2/conf.d/ ]; then
|
||||||
ln -sf /etc/alternc/apache-ssl.conf /etc/apache2/conf.d/alternc-ssl.conf
|
ln -sf /etc/alternc/apache2-ssl.conf /etc/apache2/conf.d/alternc-ssl.conf
|
||||||
s="apache2"
|
s="apache2"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue