18 lines
320 B
Plaintext
18 lines
320 B
Plaintext
# mocha-suv post-installation configuration script
|
|
# to be run on the SUV virtual machine (if building manually)
|
|
|
|
ENABLE_SSL=1
|
|
|
|
if [ $ENABLE_SSL -eq 1 ]; then
|
|
# enable SSL
|
|
echo "Listen 443" > /etc/apache2/ports.conf
|
|
a2enmod ssl
|
|
fi
|
|
|
|
# enable rewrite module
|
|
a2enmod rewrite
|
|
|
|
# restart Apache
|
|
systemctl restart apache2
|
|
|