diff --git a/ApacheOverzicht.sh b/ApacheOverzicht.sh index b05e36f..01e3942 100644 --- a/ApacheOverzicht.sh +++ b/ApacheOverzicht.sh @@ -91,17 +91,18 @@ echo "===== Apache websites overzicht =====" echo echo "Automatisch gegenereerd op $DATE" echo -echo "^ URL ^ App ^ Reverse Proxy ^ Config File ^" +echo "^ URL ^ App ^ Reverse Proxy ^ Authenticatie ^ 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]}" + auth="${AUTH_TYPES[$domain]:--}" # 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 |" + echo "| [[${url}|${url}]] | $app_wiki | $rp | $auth | $conf |" done echo echo \\\\