openfire invalid sid 404


strophe + nginx + openfire got 504 (Gateway Time-out) then 404 (Invalid SID.)
modify nginx.conf , add 3 red lines below

location /http-bind/ {
proxy_pass http://localhost:7070/http-bind/;
proxy_buffering off;
proxy_read_timeout 3600;
proxy_send_timeout 3600;
proxy_connect_timeout 3600;
tcp_nodelay on;
}

posted @ 2015-03-17 18:35  代码会说话  阅读(785)  评论(1编辑  收藏  举报