docker-firefox icon indicating copy to clipboard operation
docker-firefox copied to clipboard

Add websockify-audio and apache config to readme

Open watercrossing opened this issue 11 months ago • 2 comments

Forwarding audio requires an additional websocket to be forwarded. Since I use apache I thought I include my apache config.

watercrossing avatar Jan 15 '25 16:01 watercrossing

Could you provide more details about your apache config ? It seems that the websocket part is not working for me, I'm getting the error AH00898: Unexpected Upgrade: websocket (expecting n/a) returned by /websockify. So maybe there is a config element I'm missing that should also be documented.

jlesage avatar Feb 09 '25 16:02 jlesage

It seems it's the order of ProxyPass and ProxyPassReverse that are wrong. The least specific ones must be the last in the virtualhost configuration. So the directives that apply to root (/) must be placed after those that apply to /websockify and /websockify-audio. Also, those apache modules are required: proxy, proxy_http, proxy_wstunnel.

gwenl avatar Apr 21 '25 17:04 gwenl