HTTP-Post data with Tomcat

Hello,

I’m using Nginx as proxy for a Tomcat 7. My configuration shows:

upstream tomcat {
server 127.0.0.1:9090 fail_timeout=0;
}

location /jenkins
{
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;

proxy_pass https://tomcat;
}

I’m using Jenkins and some other war files.
Some of the container can store some binary files, so the container has
got an upload form
which uses HTTP Post data.

I cannot update with this configuration any data, on a native connect to
Tomcat everything
works fine, so imho the proxy configuration of Nginx seems to create
some problems.
How can I modify my configuration that HTTP post data is passed from
Nginx to Tomcat
for uploading binary files?

Thanks

Phil

On Sun, Feb 16, 2014 at 08:03:57AM +0100, Philipp Kraus wrote:

Hi there,

I cannot update with this configuration any data, on a native connect to Tomcat
everything
works fine, so imho the proxy configuration of Nginx seems to create some
problems.

What request do you make?

What response do you get?

What response do you expect?

What do the logs say?

f

Francis D. [email protected]