<div dir="ltr"><span style="font-size:12.8px">Hi, </span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am using nginx(caching server) in front my tomcat. My tomcat is serving header(content-length). But my nginx is not serving header content-length. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">However, i can put that header in my config with some static value then it will serve. But, in my case, the content length is coming from tomcat server.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Could anybody please help me here.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">my config file </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div> location /comet {</div><div><br></div><div><br></div><div>        chunked_transfer_encoding off;</div><div>        proxy_http_version 1.1;</div><div>        proxy_buffering on;</div><div>       </div><div>        proxy_pass <a href="http://tomcat:8080/xxxx" target="_blank">http://tomcat:8080/xxxx</a></div><div><br></div><div>            proxy_cache my_cache;</div><div><br></div><div>            # Adding a header to see the cache status in the browser</div><div>            add_header X-Cache-Status $upstream_cache_status;</div><div>   </div><div>            proxy_cache_key "$scheme$request_uri $http_x_seneca_uid";</div><div>            proxy_cache_min_uses 1;</div><div>            proxy_cache_valid 200 302 120m;</div><div>            proxy_cache_valid 404 1m;</div><div>            proxy_cache_use_stale error timeout invalid_header http_500 http_502 http_503 http_504;</div><div><br></div><div><br></div><div>          }</div><div><br></div><div><br></div><div><br></div><div>==============></div><div><br></div><div>My problem:- i have to pass content-header to my client. Could any body please help me here</div></div></div>