marcopeocchi / yt-dlp-web-ui

A terrible web ui and RPC server for yt-dlp. Designed to be self-hosted.
GNU General Public License v3.0
820 stars 85 forks source link

HTTPS compatibility #15

Closed deluxghost closed 1 year ago

deluxghost commented 1 year ago

I'm trying to add a reverse proxy in front of the webui with auto https:

[webui docker container] --- [caddy (reverse proxy)] --- [browser]

but some frontend requests always use http/ws under https environment, this behavior will be blocked by modern browsers:

https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content

While the webui might be supposed to run at local host, I don't see any downside to improve this compatibility