ruby on rails - Faye + nginx. Client closed keepalive connection -
i using faye on production server passenger , nginx. write code nginx config file of site:
location /faye { proxy_pass http://127.0.0.1:9292; proxy_http_version 1.1; proxy_set_header upgrade $http_upgrade; proxy_set_header connection "upgrade"; }
in chrome network/websocket see
status 101. switching protocols
as know means, have websocket connection. dont messages it. in nginx.error.log see:
2015/05/29 13:46:38 [info] 27188#0: *32 client closed keepalive connection
how can fix it?
Comments
Post a Comment