From 090aac090068bc018ef3673645e9fc98eee90f6b Mon Sep 17 00:00:00 2001 From: Simon C Date: Mon, 23 Mar 2020 23:03:56 +0100 Subject: [PATCH] feat: Remove log and push stats --- scripts/stats.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/stats.sh b/scripts/stats.sh index 3bca932..2f19f20 100755 --- a/scripts/stats.sh +++ b/scripts/stats.sh @@ -18,6 +18,9 @@ goaccess access.log \ --html-prefs='{"theme":"brillant","perPage":20,"layout":"vertical","showTables":false,"visitors":{"plot":{"chartType":"bar"}}}' \ --enable-panel=VISITORS --enable-panel=OS --enable-panel=BROWSERS --enable-panel=VISIT_TIMES --enable-panel=REFERRING_SITES \ --ignore-panel=REQUESTS --ignore-panel=REQUESTS_STATIC --ignore-panel=NOT_FOUND --ignore-panel=HOSTS --ignore-panel=VIRTUAL_HOSTS --ignore-panel=REFERRERS --ignore-panel=KEYPHRASES --ignore-panel=STATUS_CODES --ignore-panel=REMOTE_USER --ignore-panel=GEO_LOCATION +rm access.log +docker cp public/stats.html histoiredunpied:/usr/share/nginx/html + END=`date +%s` echo "✨ Done in $((END-START))s"