Closed cdauth closed 6 years ago
No Problems here
here my Config 4 NGINX
server {
listen 80;
server_name voip.3dns.eu;
return 301 https://voip.3dns.eu$request_uri;
}
server {
listen 443 ssl;
server_name voip.3dns.eu;
ssl on;
ssl_certificate /etc/letsencrypt/live/voip.3dns.eu/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/voip.3dns.eu/privkey.pem;
location / {
root /home/www/voip/;
}
location /mumble {
proxy_pass https://192.168.0.5:85;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
}
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
& Run
screen -d -S websocket -m websockify --cert=/etc/letsencrypt/live/voip.3dns.eu/fullchain.pem --key=/etc/letsencrypt/live/voip.3dns.eu/privkey.pem --ssl-only --ssl-target 85 10.10.0.3:9191
Use Let'zEncrypt to get a valid Cert wo make your Service SSL accessible
85 is my Websocket Port there is proxy by NGINX & 10.10.0.3:9191 is my Local Mumble Server with Port. (Mumble don't be local & doesn't need any Setups so far)
You need websockify you find it in your Package Manager like me on Debian (ARM on Raspberry Pi2)
Don't fargot to set the Cert Path & Hostname / IP Adresses in NGINX Host Conf e.g. in my Example
URL e.g. https.//yourdomain or subdomain/mumble to open the Web Mumble
I had the same config as you, except that my websockify was serving without SSL (in your case it also doesn't seem necessary, as you have the nginx proxy in front of it that takes care of SSL). This is why I had removed all the --ssl-*
parameters from the websockify command.
It turns out that --ssl-target
is necessary, as it actually makes websockify talk to the backend (the murmur server) through SSL. I didn’t know because this parameter is not documented anywhere. The best documentation I could find is the pull request novnc/websockify#45.
I added the --ssl-target
argument to websockify now and it works.
I’m trying to use mumble-web with my murmur server (mumble.rankenste.in). websockify is running behind nginx.
When I connect with mumble-web, it tells me “Connecting to server mumble.rankenste.in” and then nothing happens. The server log tells me the following:
I’m not sure what is happening here. It seems like the connection to the Murmur server is made, but then the SSL connection fails. My first thought was that mumble-web maybe only supports murmur servers without SSL, but after some research it looks to me like murmur always uses SSL.
I don’t know what is causing the Bad request message at the end.