Update Apache install script with SSL
This commit is contained in:
parent
ed5690c232
commit
dd5443b88c
@ -98,11 +98,12 @@ a2enmod rewrite 2>>install.log &&
|
|||||||
a2enmod headers 2>>install.log &&
|
a2enmod headers 2>>install.log &&
|
||||||
a2enmod expires 2>>install.log &&
|
a2enmod expires 2>>install.log &&
|
||||||
a2enmod cgi.load 2>>install.log &&
|
a2enmod cgi.load 2>>install.log &&
|
||||||
|
a2enmod ssl 2>>install.log &&
|
||||||
|
|
||||||
if [ ! -f "/etc/apache2/sites-enabled/cms.conf" ]; then
|
if [ ! -f "/etc/apache2/sites-enabled/cms.conf" ]; then
|
||||||
cat <<EOT > "/etc/apache2/sites-enabled/cms.conf"
|
cat <<EOT > "/etc/apache2/sites-enabled/cms.conf"
|
||||||
Listen 8090
|
# Listen 8090
|
||||||
<VirtualHost *:8090>
|
<VirtualHost *:80>
|
||||||
ServerAdmin webmaster@localhost
|
ServerAdmin webmaster@localhost
|
||||||
DocumentRoot /var/www/cms/www
|
DocumentRoot /var/www/cms/www
|
||||||
ErrorLog /var/www/cms/log/error.log
|
ErrorLog /var/www/cms/log/error.log
|
||||||
|
Loading…
x
Reference in New Issue
Block a user