About NGINX1.5.2 upstream sent invalid header

Background monitoring errors that are as follows:
2013/10/14 16:52:23 [error] 5924#0: *1 upstream sent invalid header while reading response header from upstream, client:, server:, request: "GET /ckfinder/core/connector/java/connector.java?command=Thumbnail&type=Images&currentFolder=%2F&langCode=zh-cn&hash=1893144c6cd339ea4ff8b8b111ed418&FileName=0050103A730000000000.jpg HTTP/1.1", upstream: "", host: ""

The NGINX configuration is as follows:
http {
include conf/mime.types;
include conf/proxy.conf;
#include conf/fastcgi.conf;
index index.html index.htm index.jsp;

default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] $status '
'"$request" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log logs/access.log main;
sendfile on;
tcp_nopush on;
keepalive_timeout 65;
server_names_hash_bucket_size 128;

gzip on;
gzip_min_length 1k;
gzip_buffers 4 16k;
gzip_http_version 1.1;
gzip_disable "MSIE [1-6]\.";
gzip_comp_level 6;
gzip_types text/plain application/x-javascript text/css text/javascript application/x-httpd-php image/jpeg image/gif image/png;
gzip_vary on;

upstream big_server_com {

server {
listen 80;
access_log logs/big.server.access.log main;

location / {
proxy_set_header HTTP 2.1;
proxy_pass http://big_server_com;
#rewrite ^(.*)\;jsessionid=(.*)$ $session_name break;

The PROXY.conf configuration is as follows:
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffers 32 32k;
proxy_buffer_size 128k;
proxy_busy_buffers_size 128k;
Consult, occurred above error information how to solve, thank you! You heroes!

Started by Berg at November 17, 2016 - 10:19 PM

Nginx agent Tomcat? Nginx itself does not support the Java program.

Posted by Gillian at November 30, 2016 - 10:37 PM