We have it working behind an apache reverse proxy.
I think this information from the ssl.conf file is what you need:
ProxyRequests Off
RewriteEngine on
ProxyPass / http://localhost:39000/
ProxyPassReverse / http://localhost:39000/
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
RewriteRule .* ws://localhost:39000%{REQUEST_URI} [P]