After having problem detecting a secure connection in Nginx/Tomcat, I did an easy work-around using java script!!!:
<script type="text/javascript">
if (window.location.protocol != "https:") {
window.location = '<%=SecureLandingURL%>';
}
</script>
1 comment:
Cuoc Doi La Nhung Chuyen Di
Ngau Hung Du Lich
Tri Thức Du Lịch
Book Ve Du Lich Gia Re
Post a Comment