<div dir="ltr">
<span class="gmail-vote-count-post"></span>
<div>
<div class="gmail-post-text">
<p>In our site we are loading a calnedar api function that works on http
(<a href="http://cdn.instantcal.com">cdn.instantcal.com</a>) . While loading this site on our wordpress site
with https its not working and getting an error: </p>
<blockquote>
<p>"Mixed Content: The page at
'<a href="https://www.geo.com/wp-admin/post.php?post=362&action=edit" rel="nofollow">https://www.geo.com/wp-admin/post.php?post=362&action=edit</a>' was
loaded over HTTPS, but requested an insecure resource
'<a href="http://cdn.instantcal.com/cvj.html" rel="nofollow">http://cdn.instantcal.com/cvj.html</a>'. This request has been blocked;
the content must be served over HTTPS."</p>
</blockquote>
<p>In order to fix the Mixed Iframe Issue in our Nginx Proxy server we
configured a new site on https <a href="http://calendar.geopc.com">calendar.geopc.com</a> and that proxies to
<a href="http://cdn.instantcal.com">cdn.instantcal.com</a>.</p>
<pre><code>server {
listen 443;
server_name <a href="http://calendar.geopc.com">calendar.geopc.com</a>;
location / {
proxy_pass <a href="http://cdn.instantcal.com">http://cdn.instantcal.com</a>;
proxy_set_header Host <a href="http://cdn.instantcal.com">cdn.instantcal.com</a>;
proxy_set_header X-Real-IP $remote_addr;
}
}
</code></pre>
<p>Then In Iframe we given the url as </p>
<blockquote>
</blockquote>
<p>But in Iframe we are getting the same error </p>
<blockquote>
<p>Mixed Content: The page at
'<a href="https://www.geo.com/wp-admin/post.php?post=362&action=edit" rel="nofollow">https://www.geo.com/wp-admin/post.php?post=362&action=edit</a>' was
loaded over HTTPS, but requested an insecure resource
'<a href="http://calendar.geopc.com/cvj.html?idcloseable=0&gnavigable=1&gperiod=da" rel="nofollow">http://calendar.geopc.com/cvj.html?idcloseable=0&gnavigable=1&gperiod=da</a>'.
This request has been blocked; the content must be served over HTTPS.</p>
</blockquote>
<p>When we directly access the url <a href="http://calendar.geopc.com">calendar.geopc.com</a> on https its
working fine on https. But please let me know whats the issue? Is it on
Iframe or on Nginx. Can anyone please help us?</p>
</div></div></div>