feat: Remove log and push stats
This commit is contained in:
parent
d911a2e9a6
commit
090aac0900
|
@ -18,6 +18,9 @@ goaccess access.log \
|
||||||
--html-prefs='{"theme":"brillant","perPage":20,"layout":"vertical","showTables":false,"visitors":{"plot":{"chartType":"bar"}}}' \
|
--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 \
|
--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
|
--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`
|
END=`date +%s`
|
||||||
echo "✨ Done in $((END-START))s"
|
echo "✨ Done in $((END-START))s"
|
||||||
|
|
Loading…
Reference in New Issue