Ok, i think nobody will answer that question.
After dig it i realised that the issue is about apache mod_proxy_wstunnel. When nodebb works on TCP port there is no problem but on unix socket it seems that mod_proxy_wstunnel is not meant to work with Unix domain sockets.
For example;
ProxyPass "/ws" "unix:/tmp/nodebb.sock|ws://127.0.0.1/" not work.
Best Regards,