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: https://forum.nginx.org/read.php?2,277303,277303#msg-277303