nginx+tomcat with ajp

配置nginx+tomcat,之前中间还多了一层apache用来做ajp连接,如果直接连的话只能用http,但是后台的tomcat在不修改代码的情况下无法获取真实ip,于是google之,发现有nginx ajp module(https://github.com/yaoweibin/nginx_ajp_module/),于是下载,patch,重新编译nginx并安装,一切解决了。。。

This entry was posted in Linux, Network and tagged , , , . Bookmark the permalink.

Comments are closed.