This repository was archived by the owner on Feb 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 658
How to use it over reverse proxy? #46
Comments
Try with |
Could somebody share a working configuration with Laravel Forge. I'm not sure how to config, my doubts:
|
There is a forge specific thread that might be useful: #30 |
Here's a very good tutorial of how to get it working: https://alex.bouma.me/installing-laravel-websockets-on-forge/#what-about-cloudflare |
Anyone coming here from a google search, take a look at this. Seems pretty straight-forward to shim in with any other previous configurations you may have for this need. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I would like to use your package(and replace old laravel-echo-server), but it doesn't work if you need to connect to websocker service running in subdirectory....
for example something like this:
http://yourdomain.com/application_name/ws
I have configured nginx as reverse proxy to redirect any connection from http://yourdomain.com/application_name/ws to websocket running on 6001 . how to configure this URL in laravel-echo?
There is only wsHost and wsPort and I need something like this:
window.Echo = new Echo({
broadcaster: 'pusher',
key: 'your-pusher-key',
wsUrl: 'http://yourdomain.com/application_name/ws',
disableStats: true,
});
Thx
The text was updated successfully, but these errors were encountered: