> 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 https://github.com/vozlt/nginx-module-vts rr