-
I have tried all the suggestions mentioned here, 50675 but none of them works. Currently, I'm using laravel 11 inertia-vue, reverb and mysql, redis combo. The real time chat works on my local machine, but not on production. On my server, I've used the supervisor for the reverb and schedulers. No issue with setting up except, making the broadcasting works. My objective is to make the broadcasting work and resolve the issue with WebSocket. If you have an idea and have the same problem, please let me hear you thoughts thank you so much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The solution is here, follow all the steps and it will work! https://stackoverflow.com/questions/78383337/solution-laravel-reverb-does-not-work-in-production-with-apache Note: you need a subdomain for it to work correctly on localhost you need to access the website on http instead of https |
Beta Was this translation helpful? Give feedback.
-
It is now up and running, thanks to Franz Marvin Horfilla. Here are his configurations, which I have copied exactly nginx.conf He added a
.env
echo.js
** directions **
here are my snips that it works well. |
Beta Was this translation helpful? Give feedback.
It is now up and running, thanks to Franz Marvin Horfilla.
Here are his configurations, which I have copied exactly
nginx.conf
He added a
/ws
prefix to the location. You should be careful here instead of using the/app
or any existing prefix that will lead you to conflict that fails the wss