feat: Remove log and push stats

This commit is contained in:
Simon 2020-03-23 23:03:56 +01:00
parent d911a2e9a6
commit 090aac0900
1 changed files with 3 additions and 0 deletions

View File

@ -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"