[fix] enable ssl module for Apache
This commit is contained in:
parent
2d60cf7c0b
commit
5f27d551d8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue