I have a cisco that can PUT pcap files on an http server. However the Content-Length generated by the cisco is incorrect. Nginx will not proxy the connection because it notices the Content-Length does not match the body size. It works great for clients that produce the correct Content-Length (the file is proxied, nginx logs a 200, and the end server logs and processes it)

I know the best answer would be getting the cisco to output the correct Content-Length, but I am unlikely to accomplish this. The next best solution is modifying the nginx configuration to simply allow the incorrect header-length.

While my request is a valid one, I could see this being impossible without nginx src getting flipped around. If it's a simple config change, please enlighten me. Thanks.

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.