Johni0702 / mumble-web

An HTML5 Mumble client
682 stars 151 forks source link

Serving mumble-web/dist in non-webroot directory? #156

Closed r4dh4l closed 3 years ago

r4dh4l commented 3 years ago

Hi,

trying to solve https://github.com/Johni0702/mumble-web/issues/147 I have one question: Is it possible to configure mumble-web in a way that the static files of mumble-web/dist/ are served in a non-webroot directory like example.com/mumble-web/?

Johni0702 commented 3 years ago

Mumble-web does not care about its path. I've had the webrtc version running for quite a while at https://voice.johni0702.de/webrtc/ without issues before merging it into the main version. I believe your issue to be with your outer proxy configuration but I'm not familiar enough with nginx to tell you more. (Also, I thought you can already access the static files but the websocket connection isn't being forwarded? At least that's what it looks like from the logs as well.)

r4dh4l commented 3 years ago

I believe your issue to be with your outer proxy configuration but I'm not familiar enough with nginx to tell you more. (Also, I thought you can already access the static files but the websocket connection isn't being forwarded? At least that's what it looks like from the logs as well.)

Yes, the static files could be served but after hitting "login" the logi process ends immediately as described in https://github.com/Johni0702/mumble-web/issues/147#issuecomment-785418936. So maybe it is time to register a domain where I can use subdomains. Using a ReverseProxy to bypass missing subdomains of NoIP's "free dynamic DNS" service was an interesting concept but always an isolated application.

Thank you for your help, I will report my final solution in https://github.com/Johni0702/mumble-web/issues/147 to close the issue as well.