Created
November 20, 2018 12:51
-
-
Save mazedlx/2a2b41ba358564a15351734cbb03e9d5 to your computer and use it in GitHub Desktop.
GoAccess command for mazedlx.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zcat /var/log/nginx/access.log.*.gz | goaccess /var/log/nginx/access.log.1 \ | |
/var/log/nginx/access.log \ | |
--log-format=COMBINED \ | |
-o /var/www/html/stats/index.html \ | |
--ws-url=wss://stats.mazedlx.net:7890 \ | |
--real-time-html \ | |
--daemonize \ | |
--ssl-cert=/etc/letsencrypt/live/mazedlx.net/fullchain.pem \ | |
--ssl-key=/etc/letsencrypt/live/mazedlx.net/privkey.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment