Replies: 1 comment
-
up |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
*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