> Hello, > > I'm trying to make use of uwsgi's fantastic stealth-mode websockets > functionality. It seem to work brilliantly when using the uwsgi http > server, but unfortunately I need to deploy behind nginx. This is failing > with timeouts on either side of nginx (ie the browser hangs on 'starting > handshake' and uwsgi logs sockets closing). > > I found this thread on the topic: > > http://forum.nginx.org/read.php?2,236370,236380 > > and a presumably associated commit: > http://hg.nginx.org/nginx/rev/10c74d3b15d1 > > I've installed nginx from the nginx ppa - version 1.2.7 > > Do I need a more recent version of nginx? Different params. Here's my > config: > > ------ NGINX --------- > location / { > include uwsgi_params; > uwsgi_pass 127.0.0.1:9055; > uwsgi_buffering off; > } > >
You need nginx 1.4 without particular config. Its uwsgi module transparently handle websockets connections. Older versions do not work :( -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
