Hi @Nam-Vu, some example working configurations can be found here https://docs.nodebb.org/configuring/proxies/nginx/
If your config is not working, please paste it here for us to review. Thanks!
During setup of nodebb (./nodebb setup) without assign of port number appears following errors:
http://domain/socket.io/?EIO=3&transport=polling&t=1430133186679-36&sid=netF9zZanEShy81DAAAP 502 (Bad Gateway)
http://domain//socket.io/?EIO=3&transport=polling&t=1430133197655-38&sid=netF9zZanEShy81DAAAP 400 (Bad Request)
http://domain/socket.io/?EIO=3&transport=websocket&sid=8SEBUhGKWZskpIS3AAAQ' failed: Error during WebSocket handshake: Unexpected response code: 400
But if I will determine port number of nodebb, for example http://domain:4567 - this error disappear but in this case users can see port number in browser url after login into forum using SSO plugins and works properly only facebook-sso. If end-user trying to login into forum with google-sso or twitter-sso , they are working as guests and they can't see forum topics, etc...
Please advise me what to do in this case.
Are you using NGINX?
If so, make sure it has the proper config for sockets