My configuration:
- IIS site w/o certificate (looks like v6.2 with Window Server 2012R2)
- SSL access via a F5 load balancer
- Second site (mediawiki, latest stable) as an application in the subfolder of the same site
I am trying to include a second site as a iframe in a subfolder of a website that I have running on IIS. The sites are accessed behind a load balancer. The actual site uses http, as it doesn't have a certificate. The load balancer has a Digicert certificate, and I assume acts as a reverse proxy.
So, I can access each site through https. https://site.xxx, and https://site.xxx/mediawiki. All links seems to show https. For the subfolder, I looked at network traffic on the main page, and I don't see any URL that isn't https.
So, I stuck the second site as an iframe in the primary site, and the browser won't load it, complaining that it isn't secure. Looking at the console output of FF, it says
Blocked loading mixed active content "http://site.xxx/mediawiki"
In the iframe, I specified the secure FQDN of the subfolder. I also tried a relative path, but had exactly the same result.
<iframe src="https://site.xxx/mediawiki"></iframe>
In mediawiki, I have specifed
$wgServer = "//site.com"";
I have also tried in the same setting the FQDN of the main site with https.
Any thoughts of why it is switched to http?