Update 'CoreModules/apache/ssl-handler.sh'
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
rm /etc/apache2/sites-enabled/010-"$sitename".conf
|
rm /etc/apache2/sites-enabled/010-"$sitename".conf
|
||||||
ln -s /etc/apache2/sites-available/"$sitename"_ssl.conf /etc/apache2/sites-enabled/010-"$sitename".conf
|
ln -s /etc/apache2/sites-available/"$sitename"_ssl.conf /etc/apache2/sites-enabled/010-"$sitename".conf
|
||||||
|
|
||||||
|
if [ -n "$sslfr" ]; then
|
||||||
|
rm /etc/apache2/sites-enabled/010-Backend.conf
|
||||||
|
ln -s /etc/apache2/sites-available/Backend_ssl.conf /etc/apache2/sites-enabled/010-Backend.conf
|
||||||
|
fi
|
||||||
|
|
||||||
systemctl reload apache2
|
systemctl reload apache2
|
||||||
|
|||||||
Reference in New Issue
Block a user