Re:Nginx has replaced Apache as the most used web server amo...
by manishsharan on Monday May 26, 2014 @01:37PM
(#7800688)
Stuck on Mod_jk and AJP ? I feel your pain ; and I fled from it a long long time ago.
You don't need AJP with NGINX; this enables you to easily work with any J2EE app server or web server . I ran into issues with configuring glassfish with Apache and thus began using NGINX. Why bother with AJP ?
Yes setting up NGIX as a reverse proxy for Tomcat/ Glasshfish whatever is very simple. Setp a NGINX on your desktop and you will never have to connect to port 8080 ever again. Also it can serve static content while lettting your app server handle application urls.
I use mod_jk with Apache. With mod_jk you use the AJP protocol to communicate with Tomcat. It's one line in your Apache config and a few lines in /etc/libapache2-mod-jk/workers.properties (Debian)
Are there any support for AJP for Nginx today?