From d2f064d35f73c18f69c2bc5fa4345086cf9f1c79 Mon Sep 17 00:00:00 2001 From: Kalen Johnson Date: Wed, 27 Sep 2017 12:41:27 -0700 Subject: [PATCH] Turn on HTTPS for Apache Seems like a lot of work went into getting HTTPS support for Apache. But it's not turned on by default. So, turn it on. --- scripts/serve-apache.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/serve-apache.sh b/scripts/serve-apache.sh index ce7b0223e..51a4edc83 100644 --- a/scripts/serve-apache.sh +++ b/scripts/serve-apache.sh @@ -164,6 +164,10 @@ ps auxw | grep apache2 | grep -v grep > /dev/null # Assume user wants mode_rewrite support sudo a2enmod rewrite + +# Turn on HTTPS support +sudo a2enmod ssl + service apache2 restart if [ $? == 0 ]