Skip to content

Commit 01decec

Browse files
authored
Update INSTALL.sh
Added installation of SSL template for own certificate in sites-available.
1 parent 87bb4f4 commit 01decec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

INSTALL.sh

+3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 200M/g' /etc/php/8.3/ap
8484
cp /var/www/display/templates/apache2.vhost.conf /etc/apache2/sites-available/$1.conf
8585
sed -i 's/DOMAIN/'$1'/g' /etc/apache2/sites-available/$1.conf
8686

87+
# Implementing a SSL template in sites-avaiable for using own certificate
88+
cp /var/www/display/templates/apache2.vhost-ssl.conf /etc/apache2/sites-available/$1-ssl.conf
89+
sed -i 's/DOMAIN/'$1'/g' /etc/apache2/sites-available/$1-ssl.conf
8790
# Restarting Apache webserver to load new configuration
8891
systemctl restart apache2
8992

0 commit comments

Comments
 (0)