Track egress bandwidth for a server block

justink101 nginx-forum at
Mon Nov 13 09:59:29 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.

Posted at Nginx Forum:,277303,277303#msg-277303

More information about the nginx mailing list