Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2021-03-17 23:33:46 +0300
committerGitHub <noreply@github.com>2021-03-17 23:33:46 +0300
commit03a3c25df0bf26887eb4b45df57a389054863485 (patch)
tree41cb98e76d47465514754b1a91b28ffdca5ad839 /apps/pico_cms.sh
parent3c733aee7b30814c0ddf96da4ef8ca4c08d6462c (diff)
improve wording for apache conf check (#1897)
Signed-off-by: szaimen <szaimen@e.mail.de> Co-authored-by: Daniel Hansson <github@hanssonit.se>
Diffstat (limited to 'apps/pico_cms.sh')
-rw-r--r--apps/pico_cms.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/pico_cms.sh b/apps/pico_cms.sh
index 93c207f0..7974d8de 100644
--- a/apps/pico_cms.sh
+++ b/apps/pico_cms.sh
@@ -35,7 +35,9 @@ fi
# Check apache conf
if ! [ -f "$SITES_AVAILABLE/$NCDOMAIN.conf" ]
then
- msg_box "The apache conf for $NCDOMAIN isn't available. This is not supported!"
+ msg_box "It seems like you haven't used the built-in 'Activate TLS' script to enable 'Let's Encrypt!' \
+on your instance. Unfortunately is this a requirement to be able to configure $SCRIPT_NAME successfully.
+The installation will be aborted."
exit 1
elif ! grep -q "<VirtualHost \*:443>" "$SITES_AVAILABLE/$NCDOMAIN.conf"
then