I got the latest version of wave from the svn and the latest nginx (in
development) able to proxy websocket.

I set my wave config this way

http_websocket_public_address = mydomain.com:9898
http_frontend_public_address = mydomain.com:80/wave
http_websocket_presented_address = mydomain.com:80/wave
http_websocket_public_address = mydomain.com:9898

And proxied  things that come from mydomain.com:80/wave to mydomain.com:9898

I can connect to the site, and log-in, I even get a status online... But I
can`t see image and the client does not work.

For some reason,  it tries to get images :80/static instead of either
:80/wave/static, or 9898/wave.

Good I have some illumination on how to make it work at mydomain.com/wave.

Here my current nginx config:

       location /wave/ {
           proxy_set_header X-Forwarded-Host $host;
           proxy_set_header X-Forwarded-Server $host;
           proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
           proxy_http_version 1.1;
           proxy_set_header Upgrade $http_upgrade;
           proxy_set_header Connection $connection_upgrade;
#           proxy_pass_header Upgrade;
#           proxy_pass_header Connection;
           proxy_pass http://domain.com:9898/;
       #   return 403;
        }


Thanks!

Reply via email to