add post-installation configure script for mocha-suv

This commit is contained in:
Michael Becker 2024-11-19 22:52:50 -05:00
parent 73cb23c78d
commit df6abd1851

17
mocha-suv/configure vendored Normal file
View File

@ -0,0 +1,17 @@
# 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