You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
im very new on laravel and im curious how the reverb works. so i have a project let say: local.test, and a public server let say reverb.mydomain.my.id. i just want to connect ws from my local project to my production. how can i do that?
the reverb is working properly on my production server, and my local seems fine too. but i just wanna ask since i was curious.
and, when im doing something useless like put my local project on my production subdirectory, let say reverb.anotherdomain.com/myanotherproject, the websocket is wont work, already do much things but still dont make this thing working.
what i do now:
configure reverb host, port and scheme from local to be same as my production (host is: reverb.mydomain.my.id)
configure proxypass from my nginx conf on local, from proxy_pass http://0.0.0.0:8080$suffix to proxy_pass https://reverb.mydomain.my.id
allowing cors, etc
and many more!
here is my conf on my local project.
for app_key and secret, i use the same key and secret from my production
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
*ps: sorry for my bad english.
hello.
im very new on laravel and im curious how the reverb works. so i have a project let say: local.test, and a public server let say reverb.mydomain.my.id. i just want to connect ws from my local project to my production. how can i do that?
the reverb is working properly on my production server, and my local seems fine too. but i just wanna ask since i was curious.
and, when im doing something useless like put my local project on my production subdirectory, let say reverb.anotherdomain.com/myanotherproject, the websocket is wont work, already do much things but still dont make this thing working.
what i do now:
configure reverb host, port and scheme from local to be same as my production (host is: reverb.mydomain.my.id)
configure proxypass from my nginx conf on local, from proxy_pass http://0.0.0.0:8080$suffix to proxy_pass https://reverb.mydomain.my.id
allowing cors, etc
and many more!
here is my conf on my local project.
for app_key and secret, i use the same key and secret from my production
.env
nginx
Beta Was this translation helpful? Give feedback.
All reactions