capture request header <name> len <length>
- Capture and log the first occurrence of the specified request header.
+ Capture and log the last occurrence of the specified request header.
May be used in sections : defaults | frontend | listen | backend
no | yes | yes | no
Arguments :
report in the logs. The string will be truncated on the right if
it exceeds <length>.
- Only the first value of the last occurrence of the header is captured. The
+ The complete value of the last occurrence of the header is captured. The
value will be added to the logs between braces ('{}'). If multiple headers
are captured, they will be delimited by a vertical bar ('|') and will appear
in the same order they were declared in the configuration. Non-existent
capture response header <name> len <length>
- Capture and log the first occurrence of the specified response header.
+ Capture and log the last occurrence of the specified response header.
May be used in sections : defaults | frontend | listen | backend
no | yes | yes | no
Arguments :
report in the logs. The string will be truncated on the right if
it exceeds <length>.
- Only the first value of the last occurrence of the header is captured. The
+ The complete value of the last occurrence of the header is captured. The
result will be added to the logs between braces ('{}') after the captured
request headers. If multiple headers are captured, they will be delimited by
a vertical bar ('|') and will appear in the same order they were declared in