Skip to content

mozatkey/ngx_http_accounting_module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors