add post-installation configure script for mocha-suv
This commit is contained in:
parent
73cb23c78d
commit
df6abd1851
17
mocha-suv/configure
vendored
Normal file
17
mocha-suv/configure
vendored
Normal 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
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user