cancel
Showing results for 
Search instead for 
Did you mean: 

External HTTP URLs for an HTTPS site

External HTTP URLs for an HTTPS site

We have external HTTP URLs that are iFrames inside of our HTTPS site.  Since they are not secure most browsers will not show these links.  We are trying to determine what the best solution is for Magento 2?

 

We are using NGINX.

1 REPLY 1

Re: External HTTP URLs for an HTTPS site

Hello @vsodhani

 

You can follow below link for your reference: 

 

https://stackoverflow.com/questions/18327314/how-to-allow-http-content-within-an-iframe-on-a-https-s...

 

1. You can try with google proxy: 

https://www.google.com/search?q=%http://yourhttpsite.com&btnI=Im+Feeling+Lucky

2. Create your own redirect script on an https page you control (a simple javascript redirect on a relative linked page should do the trick. Something like: (you can use any language/method)

https://example.com That has an iframe linking to...

https://example.com/utilities/redirect.html Which has a simple js redirect script like...

document.location.href ="http://thenonsslsite.com";

 

Manish Mittal
https://www.manishmittal.com/