Track egress bandwidth for a server block

Reinis Rozitis r at
Mon Nov 13 10:34:41 UTC 2017

> Is there a way to measure and store the amount of egress bandwidth in GB a
> given server{} block uses in a certain amount of days? Needs to be somewhat
> performant. Using NGINX Unit or Lua are both possible, just no idea how to
> implement it.

Take a look at


More information about the nginx mailing list