1

I have a site that use https. i'm using node.js I want to add url in mysite. The url using http, when i try it doens't allow, it cause im using https.

is it possible to allow http in https using node.js this is my code

<iframe src="http://url/" width="100%" height="100%" scrolling="auto">
<p>Your browser doesn't support iframe</p>
</iframe>
agstwn21
  • 123
  • 1
  • 14

1 Answers1

0

Having mixed content (http AND https) on an https page kinda defeats the purpose, so I'd advice not to. Some browsers will break or fire annoying alerts to the user when you do.

In case you really, really want to (or are just willing to learn about ports and weird configurations over the conventions), you might like this answer.

Community
  • 1
  • 1
enrique-ramirez
  • 914
  • 2
  • 11
  • 23
  • thank you. i alreeady read about it but i have some problem with it, i dont use .pem neither cert.pem. is there any solution about it. @enrique-ramirez – agstwn21 Jun 24 '14 at 03:51
  • I don't think the encoding of your certificate changes the steps to follow, so it shouldn't be a problem. @agstwn21 – enrique-ramirez Jun 24 '14 at 20:11