Closed enoch85 closed 8 years ago
proxy_pass https://$upstream:443;
This looks wrong to me. It should be proxy_pass http://$upstream;
(assuming your spreedme.conf
gets loaded in <VirtualHost 192.168.4.111:80>
)
@leonklingele Thanks for your sharp eyes.
Even if I set it to proxy_pass http://$upstream
I get:
VM199:35 Mixed Content: The page at 'https://cloud.techandme.se/index.php/apps/spreedme/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://cloud.techandme.se/webrtc/ws'. This request has been blocked; this endpoint must be available over WSS.
And if I allow insecure scripts it works, but works bad. It recognizes my user, but other users can't use it and connect to the same rooms etc, not tested that much though) Any ideas?
Either use RequestHeader set X-Forwarded-Proto 'https'
instead of RequestHeader set X-Forwarded-Proto 'https' env=HTTPS
or configure your Apache server to listen on 192.168.4.111:443
+ revert to proxy_pass https://$upstream;
RequestHeader set X-Forwarded-Proto 'https'
solved it, thanks!
I don't know if it's a bug or if my setup is wrong, but I'm trying to setup Spreed.Me on a Nextcloud server with Nginx Reverse Proxy in front and Nextcloud on a backend Apache server. This is my setup:
Vhosts
Nginx Vhost
Handles port 443 and 80
Apache Vhost Nextcloud
nextcloud.conf
Apache Vhost SpreedMe
spreedme.conf (As Include in Apache.conf)
Errors
Here are a good summary of all the errors: https://github.com/nextcloud/spreedme-snap/issues/10
Summary
It seems like you need to implement wss so that I can get secure connections, or it's my config that are wrong. Can you please help me here?
Thanks!