Fardad's Corner

Tuesday, May 29, 2012

Thanks Javascript!!!

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>

Posted by Fardad S. at 9:35 AM
Labels: big blue button, bigbluebutton, javascript, nginx, open source, request.isSecure(), Seneca, ssl, tomcat 6

1 comment:

Doanh Doanh said...

Cuoc Doi La Nhung Chuyen Di
Ngau Hung Du Lich
Tri Thức Du Lịch
Book Ve Du Lich Gia Re

March 30, 2021 at 9:47 PM

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2015 (1)
    • ►  July (1)
  • ►  2014 (2)
    • ►  August (1)
    • ►  July (1)
  • ►  2013 (4)
    • ►  October (2)
    • ►  September (1)
    • ►  July (1)
  • ▼  2012 (11)
    • ►  September (1)
    • ►  June (2)
    • ▼  May (5)
      • Big Blue Button Test Server is up!
      • Thanks Javascript!!!
      • Tomcat 6 under secured Nginx?
      • Enabling Nginx SSL with a self-singed certificate ...
      • Seneca BBB landing page and SSL Certificates on Ub...
    • ►  February (3)
  • ►  2011 (1)
    • ►  July (1)
  • ►  2010 (1)
    • ►  January (1)
  • ►  2009 (1)
    • ►  July (1)
  • ►  2008 (3)
    • ►  October (2)
    • ►  June (1)

About Me

My photo
Fardad S.
View my complete profile
Simple theme. Powered by Blogger.