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
256 stars 80 forks source link

Proxy changing from https to http #50

Open gabinfinity opened 5 months ago

gabinfinity commented 5 months 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 5 months 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