Hi max,
If you use njs, then you can use `r.headersIn` or `r.rawHeadersIn`
https://nginx.org/en/docs/njs/reference.html#r_headers_in
https://nginx.org/en/docs/njs/reference.html#r_raw_headers_in
Regards,
Liu
Maksim Yevmenkin 于2024年5月16日周四 08:28写道:
>
> Hello!
>
> Could the community share their
Hello!
Could the community share their thoughts on introducing a directive to
cap the number of HTTP request headers? While we currently have the
ability to limit client HTTP request buffer size, having more specific
control over the number of headers could be advantageous.
Thanks,
max