Hello there ;),
I'm currently trying to switch from "apache <-> tomcat" to "nginx <-> tomcat" with nginx_ajp_module,
this works, but not like intended
APACHE2.conf:
-------------------------------
ProxyPass / ajp://10.0.0.49:8009/myAPP
-------------------------------
NGINX.conf:
-------------------------------
location / {
ajp_pass 10.0.0.49:8009/myAPP
}
------------------------------
Apache is forwarding "ajp://10.0.0.49:8009/myAPP" to "http://127.0.0.1/" like expected, but Nginx is forwarding "ajp://10.0.0.49:8009/" to "http://127.0.0.1/" and "ajp://10.0.0.49:8009/myAPP" to "http://127.0.0.1/myAPP".
So does anybody knows how i can make nginx forwarding an specific tomcat app "/myAPP" to the nginx "root" (/)?
Thanks for your help, :)
cddm
I'm currently trying to switch from "apache <-> tomcat" to "nginx <-> tomcat" with nginx_ajp_module,
this works, but not like intended
APACHE2.conf:
-------------------------------
ProxyPass / ajp://10.0.0.49:8009/myAPP
-------------------------------
NGINX.conf:
-------------------------------
location / {
ajp_pass 10.0.0.49:8009/myAPP
}
------------------------------
Apache is forwarding "ajp://10.0.0.49:8009/myAPP" to "http://127.0.0.1/" like expected, but Nginx is forwarding "ajp://10.0.0.49:8009/" to "http://127.0.0.1/" and "ajp://10.0.0.49:8009/myAPP" to "http://127.0.0.1/myAPP".
So does anybody knows how i can make nginx forwarding an specific tomcat app "/myAPP" to the nginx "root" (/)?
Thanks for your help, :)
cddm