diff --git a/etc/alternc/apache2-ssl.conf b/etc/alternc/apache2-ssl.conf index ef9d9e04..9ddd3aa5 100644 --- a/etc/alternc/apache2-ssl.conf +++ b/etc/alternc/apache2-ssl.conf @@ -1,3 +1,5 @@ +Listen 443 + SSLEngine on SSLCertificateFile /etc/alternc/apache.pem diff --git a/install/alternc.install b/install/alternc.install index 7ff8cc52..4d9e7e0c 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -211,10 +211,6 @@ if [ -x /usr/sbin/apache2 ]; then s="apache2" fi if [ -e /etc/alternc/apache.pem ]; then - if ! grep '^Listen.*443$' /etc/apache2/ports.conf; then - echo "Listen 443" >> /etc/apache2/ports.conf - s="apache2" - fi if [ ! -h /etc/apache2/mods-enabled/ssl.load ] ; then a2enmod ssl s="apache2"