Search code examples
httpproxynginxhttp-headershttp-content-length

How to disable Content-Length check?


Is there a way to disable checking for Content-Length header in the PUT requests on nginx?


Solution

  • Tri ngx_headers_more module. This module can modify the output headers with the more_set_header and more_clear_headers directives.