Re: Writing Header to Logfile

2017-07-08 Thread Liu Lantao
According to nginx document (http://nginx.org/en/docs/http/ngx_http_core_module.html#var_http_): --- $http_name arbitrary request header field; the last part of a variable name is the field name converted to lower case with dashes replaced by underscores ——— if the request header name is 'X-Cus

Re: Writing Header to Logfile

2017-07-07 Thread Zhang Chao
I would like to log a header which is send with the incoming request into a custom log field. How can this be done? you mean the request header? On 7 July 2017 at 23:55:36, mailinglis...@simonhoenscheid.de ( mailinglis...@simonhoenscheid.de) wrote: Hello List, I would like to log a header wh

Writing Header to Logfile

2017-07-07 Thread mailinglisten
Hello List, I would like to log a header which is send with the incoming request into a custom log field. How can this be done? Kind Regards Simon ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx