20 messages in ru.sysoev.nginxRe: AJP Support
FromSent OnAttachments
Stephen Nelson-SmithJun 23, 2008 2:33 am 
Manlio PerilloJun 23, 2008 3:32 am 
Igor SysoevJun 23, 2008 12:42 pm 
Stephen Nelson-SmithJun 23, 2008 11:54 pm 
Igor SysoevJun 23, 2008 11:59 pm 
Stephen Nelson-SmithJun 24, 2008 12:11 am 
Igor SysoevJun 24, 2008 12:22 am 
mikeJun 24, 2008 12:26 am 
Stephen Nelson-SmithJun 24, 2008 3:45 am 
Henrik VendelboJun 24, 2008 4:02 am 
Igor SysoevJun 24, 2008 4:03 am 
Stephen Nelson-SmithJun 24, 2008 4:16 am 
Igor SysoevJun 24, 2008 5:23 am 
Phillip B OldhamJun 24, 2008 5:46 am 
Paul DekkersJun 24, 2008 5:51 am 
Stephen Nelson-SmithJun 24, 2008 9:56 am 
Stephen Nelson-SmithJun 24, 2008 11:31 pm 
Dan MJun 25, 2008 12:52 pm 
Cliff WellsJun 26, 2008 11:40 am 
Igor SysoevJun 26, 2008 12:20 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: AJP SupportActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Jun 23, 2008 12:42:34 pm
List:ru.sysoev.nginx

On Mon, Jun 23, 2008 at 10:33:41AM +0100, Stephen Nelson-Smith wrote:

I currently use apache 2.2 with mod_proxy_ajp to load-balance a Java application running on 3 tomcat servers.

I've had good results with nginx for a php and RoR site, and would be interested in replacing apache with nginx in this configuration.

Does nginx support ajp13 connections? Has anyone on the list done anything similar?

No, nginx does not support AJP, and it's difficult to add because nginx's upstream module supports this scheme only:

send request/body to upstream cycle: read response from upstream/send it to client

AJP' scheme:

send request/body first part (up to 8K) to upstream -------- cycle 1: wait for GET_BODY_CHUNK from upstream send body part (up to 8K) to upstream -------- cycle 2: read response from upstream/send it to client

Thus, the cycle 1 is not supported by nginx's upstream module.