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;
}