> > The message indicate that upstream server returned invalid > response, or at least nginx thinks it is invalid. If you think > that response returned is valid, it's good idea to actually > provide what was returned, as well as nginx's debug log. > > > -- > Maxim Dounin > http://nginx.org/
Thank you. You were right. It turned out JBoss (or one of its components) gave a strange response in HTTP 1.1 chunked transfer... but without chunk sizes. I solved it by adding these two directives: + proxy_http_version 1.1; + proxy_set_header Connection "";
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx