tlaverdure / laravel-echo-server

Socket.io server for Laravel Echo
MIT License
2.65k stars 511 forks source link

Laravel Echo Server work and client side error only at server #597

Closed Thihasoehlaing closed 1 year ago

Thihasoehlaing commented 1 year ago

I use laravel echo server and socket.io-client and running at localhost is work at port 6001 and I config at server and use port 8443. Events and laravel echo server work. When client side connect, got 200 success and got Remote Address: ip:443 instead of ip:8443.

laravel 7.0 laravel-echo-server 1.6.3 socket.io-client 2.3.0

Here is link at stackoverflow

parallels999 commented 1 year ago

https://github.com/tlaverdure/laravel-echo-server/issues/584#issuecomment-962614453

Thihasoehlaing commented 1 year ago

I found solution that is a little code in nginx config. Thanks.