Table of Contents 1 Nginx setup 2 GoAccess configuration 3 Systemd setup 4 Serving the static file 5 Serving live statistics 6 GeoIP database GoAccess (goaccess.io, github) is a tool that analyses server logs and gives real-time statistics on network traffic. It took me some time to figure out exactly how to get the real-time websocket server working through Nginx, so I’m just sharing my configuration here. Install via your package manager, e.g. sudo pacman -S goaccess on Arch.