You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stephen Nelson-Smith <sa...@gmail.com> on 2008/06/23 12:14:07 UTC
Nginx Front End
Hello,
I'm currently using Apache 2.2 and mod_proxy_ajp to load balance
across 3 tomcat servers.
I'm considering looking at nginx as Apache seems somewhat resource
intensive. Has anyone on the list tried this? Does nginx support (or
need to support) ajp13?
S.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Nginx Front End
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stephen,
Stephen Nelson-Smith wrote:
|> If Nginx can do HTTP proxying, you can use that instead of ajp13 if you
|> wish.
|
| It certainly can - and very fast indeed. So would I then be
| reconfiguring Tomcat to use its own http server? At present apache
| serves http and passes the ajp stuff to tomcat.
Just change your Tomcat <Connector> from AJP to HTTP (your server.xml
probably has examples for both, so just comment-out the AJP one and
uncomment the HTTP one). I'm guessing that mod_jk doesn't have support
for Nginx (with no specific plans to do so) and so HTTP proxying is
probably your best bet.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhg9jkACgkQ9CaO5/Lv0PDq+gCgnjPe1qMTrHYAz11nY3byW+pT
I7QAoMJMm0AsyLl69fEYWnotkSBj+Sgd
=h0GG
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Nginx Front End
Posted by Stephen Nelson-Smith <sa...@gmail.com>.
Hi,
> If Nginx can do HTTP proxying, you can use that instead of ajp13 if you
> wish.
It certainly can - and very fast indeed. So would I then be
reconfiguring Tomcat to use its own http server? At present apache
serves http and passes the ajp stuff to tomcat.
S.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Nginx Front End
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stephen,
Stephen Nelson-Smith wrote:
| I'm considering looking at nginx as Apache seems somewhat resource
| intensive. Has anyone on the list tried this? Does nginx support (or
| need to support) ajp13?
If Nginx can do HTTP proxying, you can use that instead of ajp13 if you
wish.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhfw5UACgkQ9CaO5/Lv0PDPwACfRKzmt2P5we/Z0/qwxHS7CkVM
kjQAnjw8RpTAxbd5YgfaaPK5/0MI5Ogo
=kt8P
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org