HTTP-Post data with Tomcat
Philipp Kraus
philipp.kraus at tu-clausthal.de
Sun Feb 16 07:03:57 UTC 2014
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
More information about the nginx
mailing list