Update ApacheOverzicht.sh

This commit is contained in:
2026-06-01 11:41:26 +02:00
parent 0bec301c98
commit 3e4e8a82b2
+3 -2
View File
@@ -91,17 +91,18 @@ echo "===== Apache websites overzicht ====="
echo echo
echo "Automatisch gegenereerd op $DATE" echo "Automatisch gegenereerd op $DATE"
echo 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 for domain in $(printf "%s\n" "${!CONFIG_FILES[@]}" | sort); do
[[ -n "${HTTPS_DOMAINS[$domain]}" ]] || continue [[ -n "${HTTPS_DOMAINS[$domain]}" ]] || continue
url="https://$domain" url="https://$domain"
rp="${REVERSE_PROXIES[$domain]:--}" rp="${REVERSE_PROXIES[$domain]:--}"
conf="${CONFIG_FILES[$domain]}" conf="${CONFIG_FILES[$domain]}"
auth="${AUTH_TYPES[$domain]:--}"
# Appnaam = eerste deel van domein (voor de eerste punt) # Appnaam = eerste deel van domein (voor de eerste punt)
app=$(echo "$domain" | cut -d'.' -f1) app=$(echo "$domain" | cut -d'.' -f1)
app_wiki="[[${app}]]" app_wiki="[[${app}]]"
echo "| [[${url}|${url}]] | $app_wiki | $rp | $conf |" echo "| [[${url}|${url}]] | $app_wiki | $rp | $auth | $conf |"
done done
echo echo
echo \\\\ echo \\\\