I have an iFrame that's making a request to a HTTPS URL. I'm using NGINX to catch this request and proxy is to the correct URL, which is an HTTP backend Spotfire Server.
The HTTPS URL request: https://testURL.com:8443/spotfire/reportpath/01
This is my set up with NGINX:
server {
listen 8443;
server_name testURL.com;
ssl on;
ssl_certificate C:\OpenSSL\cert.pem;
ssl_certificate_key C:\OpenSSL\cert.key;
ssl_session_cache shared:SSL:1m;
ssl_session_tickets off;
ssl_session_timeout 5m;
ssl_protocols TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location /spotfire/ {
proxy_pass http://localSpotfireServerURL/spotfire/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}
}
This successfully retrieves my report but the browser blocks the content because it's being served back on HTTP. I can allow the browser to server insecure content, but I don't want to do that. I've tried so many different settings and searches to get the content to come back securely but nothing has worked.
Here's what the browser is saying: Browser Error
Hopefully, someone out there has an answer for me