Welcome! Log In Create A New Profile

Advanced

HTTP-Post data with Tomcat

Philipp Kraus
February 16, 2014 02:06AM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

HTTP-Post data with Tomcat

Philipp Kraus February 16, 2014 02:06AM

Re: HTTP-Post data with Tomcat

Francis Daly February 16, 2014 04:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 119
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready