otherplace / ngx_headers_logging_module

nginx HTTP request headers and HTTP response headers log module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ngx_headers_logging_module

HTTP request headers and HTTP response headers log module for nginx.

Configuration directives

ngx_request_headers_logging

  • syntax: ngx_request_headers_logging on|off
  • default: none
  • context: http, server, location, if

HTTP request headers logging to ngx's error log as INFO log level.

ngx_response_headers_logging

  • syntax: ngx_response_headers_logging on|off
  • default: none
  • context: http, server, location, if

HTTP response headers logging to ngx's error log as INFO log level.

How to compile

$ cd nginx-1.6.x/
$ patch -p0 < <path of this module>/nginx-1.6.x.patch
$ ./configure --add-module=<path of this module> 

About

nginx HTTP request headers and HTTP response headers log module

License:GNU General Public License v2.0


Languages

Language:C 100.0%