fix: stats — utiliser le rapport ISPConfig au lieu de générer manuellement
STATS_FILE pointe vers /stats/goaindex.html généré chaque nuit par ISPConfig. STATS_GENERATE_CMD et STATS_JSON vidés (génération déléguée à ISPConfig). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d81acf2b19
commit
c0f3e43e35
1 changed files with 5 additions and 6 deletions
|
|
@ -18,12 +18,11 @@ ADMIN_EMAILS=cedric.alpinux@acemail.fr
|
|||
ASSETS_ROOT=<chemin absolu>
|
||||
|
||||
# ── Statistiques GoAccess ─────────────────────────────────────────────
|
||||
# Rapport HTML affiché dans l'onglet Statistiques
|
||||
STATS_FILE=/opt/static-cdn/goaccess.html
|
||||
# Rapport HTML généré par ISPConfig (mis à jour chaque nuit automatiquement)
|
||||
STATS_FILE=/var/www/clients/client1/web17/web/stats/goaindex.html
|
||||
# Rapport JSON pour les badges "Vues" dans le navigateur de fichiers
|
||||
STATS_JSON=/opt/static-cdn/goaccess.json
|
||||
# Fichier de log Apache à analyser (nécessaire pour la génération à la demande)
|
||||
STATS_JSON=
|
||||
# Fichier de log Apache (utilisé seulement si STATS_GENERATE_CMD est défini)
|
||||
STATS_LOG_FILE=/var/log/ispconfig/httpd/static.alpinux.org/access.log
|
||||
# Commande complète de génération (optionnel — remplace la commande par défaut)
|
||||
# Exemple : goaccess /var/log/... --log-format=COMBINED -o /opt/static-cdn/goaccess.html
|
||||
# Laisser vide : ISPConfig gère la génération
|
||||
STATS_GENERATE_CMD=
|
||||
|
|
|
|||
Loading…
Reference in a new issue