enable 000-default on failure

This commit is contained in:
Daniel Hansson 2017-02-04 16:01:17 +01:00 committed by GitHub
parent 6593a38337
commit 43b105ae23

View File

@ -59,7 +59,7 @@ else
a2dissite $1
a2ensite nextcloud_ssl_domain_self_signed.conf
a2ensite nextcloud_http_domain_self_signed.conf
000-default.conf
a2ensite 000-default.conf
service apache2 restart
echo -e "\e[96m"
echo "Couldn't load new config, reverted to old settings. Self-signed SSL is OK!"