Welcome! Log In Create A New Profile

Advanced

nginx -> httpd -> mod_jk -> tomcat

Giacomo Arru - BETA Technologies
July 26, 2018 04:12AM
Hi everybody,

I recently begun using proxy with nginx (same tests were made with haproxy).

My needs are to proxy for failover and balancing tomcat: I need to serve lots of users with production app.


While I understood that a 100% tomcat AJP1.3 compatibility is achievable with apache httpd only and mod_jk, I successfully serve my app with apache to a simple 80 http port (cookie path already patched). So I decided to have a localhost apache httpd to proxy tomcat with AJP. IT works perfectly.

Now, I need to proxy httpd with nginx, adding SSL with letsencrypt. I successfuly configured the proxy and everything works but uploads: if I send a file to my app, only small uploads work.

I'd like to investigate the headers, maybe I need to transform some string but I'm a completely newbie from this point of view.

Do you have some tips on how to investigate the problem?


Thanks,




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

nginx -> httpd -> mod_jk -> tomcat

Giacomo Arru - BETA Technologies July 26, 2018 04:12AM

Re: nginx -> httpd -> mod_jk -> tomcat

Aleksandar Lazic July 28, 2018 12:44PM

Re: nginx -> httpd -> mod_jk -> tomcat

Giacomo Arru - BETA Technologies July 30, 2018 06:46AM

Re: nginx -> httpd -> mod_jk -> tomcat

Aleksandar Lazic July 30, 2018 02:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 311
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