RE: How to redirect http to https after installed SSL certificate in Lifera

Jamie Sammons, modified 4 Years ago. New Member Posts: 9 Join Date: 12/16/19 Recent Posts

Hi all,

I have sucessfully done SSL certificate installation in Liferay7.2 tomcat. And both HTTP:// and HTTPS:// can be visited well. But I have no idea to give a redirect from HTTP to HTTPS. I hope wen visit domain, it can be redirect to HTTPS. Who can give me some advice? Thanks a lot!

thumbnail
Jamie Sammons, modified 4 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

I prefer to use a reverse proxy, where this is trivial to configure.

If you want to stay purely on tomcat, check this stackoverflow post.

Jamie Sammons, modified 4 Years ago. New Member Posts: 9 Join Date: 12/16/19 Recent Posts

Thanks your reply :) I have done by domain provider platform configuration according your advice. thanks again!