We have configured F5 load balancer with https certificate and all this request till F5 are being in SSL. Load balancer does transition to http request in internal network.
I have SharePoint Site which has been hosted on iis port 80. Within network I can request it using http and can access without any problem.
But when I use https over internet I am receiving following error,
Mixed-Content The page at ' https://url' was loaded over https but requested an insecure XMLHttpRequest 'script .js' endpoint 'http://ur/". This request has been blocked; the content must be served over HTTPS.
We are giving relative paths to all resources eg: '_layout\script.js'
no protocol being hardcoded.
Our platform policies do not allow us to have https within internal network. All other applications are working with same topology but not SharePoint. Please help.
Here is snapshot of error
[