warren-bank / HLS-Proxy

Node.js server to proxy HLS video streams
http://webcast-reloaded.surge.sh/proxy.html
GNU General Public License v2.0
238 stars 68 forks source link

Proxy changing from https to http #50

Open gabinfinity opened 2 weeks ago

gabinfinity commented 2 weeks ago

Hi im having this problem, for some reason, the proxy keep changing the urls to http instead https, which is causing mixed content

image

warren-bank commented 2 weeks ago
  1. if your domain "test.braflix.so" isn't directly exposing HLS-Proxy but, rather, is a public endpoint (w/ TLS) that reverse proxies its calls to a private instance of HLS-Proxy (w/o TLS):
    hlsd --host "test.braflix.so:443"
  2. however, if your domain is just a vanilla instance of HLS-Proxy (w/ TLS):
    hlsd --tls --host "test.braflix.so"
    • you could include the port (443), but it isn't necessary
    • also, you'd probably want to replace --tls with a combination of --tls-cert, --tls-key, and --tls-pass to use your own certificate