[fix] enable ssl module for Apache

This commit is contained in:
Benjamin Sonntag 2018-06-24 18:17:10 +02:00
parent 2d60cf7c0b
commit 5f27d551d8
1 changed files with 4 additions and 0 deletions

View File

@ -368,6 +368,10 @@ if [ -x /usr/sbin/apache2 ]; then
then then
a2enmod expires a2enmod expires
fi fi
if ! [ -L /etc/apache2/mods-enabled/ssl.load ]
then
a2enmod ssl
fi
if [ ! -h /etc/apache2/conf-available/alternc-ssl.conf ] && [ -e /etc/apache2/conf-available/ ]; then if [ ! -h /etc/apache2/conf-available/alternc-ssl.conf ] && [ -e /etc/apache2/conf-available/ ]; then
ln -sf /etc/alternc/apache2-ssl.conf /etc/apache2/conf-available/alternc-ssl.conf ln -sf /etc/alternc/apache2-ssl.conf /etc/apache2/conf-available/alternc-ssl.conf