I have set up the nginx Server with https offloading. It seems, that I could play only one video over the VOD server successfully and by all other videos I got the followng message of mixed Contet in the Browser:
Failed to load resource: net::ERR_CONNECTION_RESET
kmc4:1 Mixed Content: The page at 'https://tube.htwchur.ch/index.php/kmc/kmc4#content|manage' was loaded over HTTPS, but requested an insecure plugin data 'http://tube.htwchur.ch:8443/hls/p/103/sp/10300/serveFlavor/entryId/0_/v/2/flavorId/0_---------/name/a.mp4/seg-5-v1-a1.ts'. This content should also be served over HTTPS.
Do I have to setup something special on the serverside of the nginx?
You can set up a LB and perform SSL offloading to Nginx but you need to make sure that the delivery_profile.url column is set accordingly to point to the LB over HTTPs.
In addition, when doing SSL offloading from an LB, you should also set the vod_base_url directive, which is explained here:
The configuration in nginx.conf would then look like this:
upstream kalapi {
server myserver.mydomain:8443;
}
I think the kalapi sould point to the frontserver port of the LB? So i set up with the vod_base url:
vod_base_url https://myserver.mydomain:8443;
upstream kalapi {
server myserver.mydomain:443;
}
It works in most browsers and with most videos but I still got a mixed content with one particular video in the Chrome browser. This video works in other browsers like Firefox, Edge, and IE as designed.