Skip to content

Conversation

@watercrossing
Copy link

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

@jlesage
Copy link
Owner

jlesage commented Feb 9, 2025

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.

@gwenl
Copy link

gwenl commented Apr 21, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants