After setting up reverb to be running on your vps, there are few changes you need to make all your server route websocket request to your laravel reverb.
🔧 NGINX Configuration
To proxy WebSocket requests to Laravel Reverb via Nginx, you must edit your virtual host (vhost) file or Nginx site configuration.
Add the following location block inside your server block:
Here is the expected reverb configuration in your .env. If file differs, please update your .env with values in the below code:
REVERB_APP_ID=301558 #Your preferred ID
REVERB_APP_KEY=c0s0RweKnOag #Your preferred Key
REVERB_APP_SECRET=7C589VDbxUhbMSoqx1 #Your preferred Secret
REVERB_SERVER_HOST=0.0.0.0 #Must be same as this value
REVERB_SERVER_PORT=6001 #Must be same as this value
REVERB_HOST=glover.test #Change to your backend domain
REVERB_PORT=443 #Must be same as this value
REVERB_SCHEME=https #Must be same as this value