I run my Nextcloud install along with Spreedme in an LXD container. It serves Nextcloud and Spreedme over HTTP.
I then have Nginx forwarding HTTPS public connections to the container.
Client ---- HTTPS ----> Nginx on the server ---- HTTP ----> Nginx on the LXD container ---- HTTP ----> Spreedme
Everything works fine but when I launch the Spreedme app, I have an error that prevents it from running:
app.js:219 Mixed Content: The page at 'https://domain.com/nextcloud/apps/spreedme/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://domain.com/webrtc/ws'. This request has been blocked; this endpoint must be available over WSS.
How can I overcome that issue and force spreedme to serve over wss:// ?
EDIT 1: I activated HTTPS for spreedme with proper ssl certs, and of course I edited my NGINX config to proxy to https://127.0.0.1:8443, but I have the same issue.