From 2723cfd5853149d6f90b3cb8783078b0d7fa9761 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 6 May 2026 09:39:17 +0200 Subject: [PATCH] app --- ApacheOverzicht.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ApacheOverzicht.sh b/ApacheOverzicht.sh index ee55892..2cc3397 100644 --- a/ApacheOverzicht.sh +++ b/ApacheOverzicht.sh @@ -76,14 +76,17 @@ echo "===== Apache websites overzicht =====" echo echo "Automatisch gegenereerd op $DATE" echo -echo "^ URL ^ Reverse Proxy ^ Config File ^" +echo "^ URL ^ App ^ Reverse Proxy ^ Config File ^" for domain in $(printf "%s\n" "${!CONFIG_FILES[@]}" | sort); do [[ -n "${HTTPS_DOMAINS[$domain]}" ]] || continue url="https://$domain" rp="${REVERSE_PROXIES[$domain]:--}" conf="${CONFIG_FILES[$domain]}" - echo "| [[${url}|${url}]] | $rp | $conf |" + # Appnaam = eerste deel van domein (voor de eerste punt) + app=$(echo "$domain" | cut -d'.' -f1) + app_wiki="[[${app}]]" + echo "| [[${url}|${url}]] | $app_wiki | $rp | $conf |" done echo echo \\\\