Skip to content

About

Add netflow monitor function to nginx. Useful for http accounting based on nginx configuration logic ( server / location / or anything else).

Resources

Stars

1 star

Watchers

1 watching

Forks

 
 

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Configure ngx_http_accounting_module as nginx module when build nginx.

cd /path/to/nginx-src/
./configure --add-module=/path/to/ngx_http_accounting_module
make -j2
make install

Just need to edit your nginx.conf.

Example:

http{
 http_accounting  on;   # turn on accounting function
 ...

 server {
   http_accounting_id  accounting_id_str;   # set accounting_id based on server
   ...

   location / {
     http_accounting_id  accounting_id_str;    # set accounting_id based on location
     ...

   }
 }
}
  • master : new feathers

  • v2-freeze-20110526 : works with nginx version(0.7.xx, 0.8.xx), nginx 0.9 is not tested. didn’t work with nginx above 1.0.x.

About

Add netflow monitor function to nginx. Useful for http accounting based on nginx configuration logic ( server / location / or anything else).

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors