Nginx proxy with websocket not returning data
Ne Ka
lists at ruby-forum.com
Thu Jan 30 11:56:42 UTC 2014
Hi,
I am trying to configure nginx proxy with websockets I am using jetty
server with cometd framework. I am able to do the websocket handshake
and send my login request to the server but I am not getting any
response back. Can you let me know what could be wrong with my config
file.
Here's my config file:
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
server {
listen 80;
server_name test.abc.com;
location / {
proxy_pass http://110.90.22.202:8080;
proxy_redirect off;
#root /var/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header X-Nginx-Proxy true;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list