Aneesh Babu
asked on
Apache to Tomcat AJP port
I am using JK_MOD load balancer to connect my apache to Tomcat AJP port for accessing my application, it works. My question is do i need to SSL protect the AJP port? If yes, how? Thanks, Aneesh.
you can use Apache and nginx with reverse proxy to reach tomcat . configure ssl on nginx or Apache
ASKER
Thanks for the responses, It looks in my case i need to go for SSL protection, could you suggest any sample and easy setup available on net for the above said approaches? Thanks, Aneesh.
Tomcat != Simple.
Anything Tomcat related tends to be far more complex than other software.
Might be good for you to hire someone to work with you on this, till the entire setup is complete.
So, rather than trying to cobble together a solution using EE questions, work with one person till the entire setup is rock solid complete.
Anything Tomcat related tends to be far more complex than other software.
Might be good for you to hire someone to work with you on this, till the entire setup is complete.
So, rather than trying to cobble together a solution using EE questions, work with one person till the entire setup is rock solid complete.
<VirtualHost *:443>
ServerName www.example.com
DocumentRoot /var/www/html
###Remove this redirection line to move it in separate virtual host listening to port 80
Redirect permanent / https://example.com/
SSLProxyEngine on
ProxyPass /test http://xxx.xxx.xxx.xxx:8080/test
ProxyPassReverse /test http://xxx.xxx.xxx.xxx:8080/test
</VirtualHost>
ServerName www.example.com
DocumentRoot /var/www/html
###Remove this redirection line to move it in separate virtual host listening to port 80
Redirect permanent / https://example.com/
SSLProxyEngine on
ProxyPass /test http://xxx.xxx.xxx.xxx:8080/test
ProxyPassReverse /test http://xxx.xxx.xxx.xxx:8080/test
</VirtualHost>
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
No - If your AJP port is accessible only via a localhost (127.0.X.X) address.