Thanks for your promot response.
location /x {
error_log /var/log/nginx/contenttroubleshooterror.log debug;
#chunked_transfer_encoding off;
#proxy_http_version 1.1;
#proxy_buffering on;
#proxy_pass_header Content-Length;
proxy_pass http://tomcat:8080/x;
proxy_cache my_cache;
#
Hi,
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.
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