Hello,
RE #1: yes, correct.
LBs typically set the X-Forwarded-Proto header when forwarding the requests.
The Kaltura code looks for the HTTPS header to determine whether or not the request should be made over HTTPs.
and so:
SetEnvIf X-Forwarded-Proto https HTTPS=on
Which says: if we have a header called X-Forwarded-Proto, set HTTPS to "on"
RE #2: no longer true since we are now using the standard nginx proxy_pass directive to do the http requests.
It should work correctly if you set:
upstream kalapi {
server https://$SERVICE_URL;
}
in the Nginx config. Can you please try and let me know? if all is well, I'll also update the doc.
Thanks,