From e3bec0af7d470cbb53396f18eb62523d0d12b43c Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Mon, 1 Jul 2024 13:22:23 +0100 Subject: [PATCH 1/3] add warning for reverb uri --- reverb.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reverb.md b/reverb.md index e1ecb5a0de..43ded8814b 100644 --- a/reverb.md +++ b/reverb.md @@ -257,6 +257,9 @@ server { } ``` +> [!WARNING] +> Reverb listens for WebSocket connections at the `/app` URI prefix and handles API requests, such as event broadcasts, at the `/apps` URI prefix. You should ensure the web server handling Reverb requests can accommodate both. + Typically, web servers are configured to limit the number of allowed connections in order to prevent overloading the server. To increase the number of allowed connections on an Nginx web server to 10,000, the `worker_rlimit_nofile` and `worker_connections` values of the `nginx.conf` file should be updated: ```nginx From d7d1051567391f172f2ce6912ae952109f10968f Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 1 Jul 2024 15:45:50 -0500 Subject: [PATCH 2/3] Update reverb.md --- reverb.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reverb.md b/reverb.md index 43ded8814b..024e3fa70b 100644 --- a/reverb.md +++ b/reverb.md @@ -258,7 +258,7 @@ server { ``` > [!WARNING] -> Reverb listens for WebSocket connections at the `/app` URI prefix and handles API requests, such as event broadcasts, at the `/apps` URI prefix. You should ensure the web server handling Reverb requests can accommodate both. +> Reverb listens for WebSocket connections at `/app` and handles API requests at `/apps`. You should ensure the web server handling Reverb requests can serve both of these URIs. Typically, web servers are configured to limit the number of allowed connections in order to prevent overloading the server. To increase the number of allowed connections on an Nginx web server to 10,000, the `worker_rlimit_nofile` and `worker_connections` values of the `nginx.conf` file should be updated: From 65ea742d55092424efd0cf687589d6225139c4fe Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 1 Jul 2024 15:49:17 -0500 Subject: [PATCH 3/3] Update reverb.md --- reverb.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reverb.md b/reverb.md index 024e3fa70b..627068d296 100644 --- a/reverb.md +++ b/reverb.md @@ -258,7 +258,7 @@ server { ``` > [!WARNING] -> Reverb listens for WebSocket connections at `/app` and handles API requests at `/apps`. You should ensure the web server handling Reverb requests can serve both of these URIs. +> Reverb listens for WebSocket connections at `/app` and handles API requests at `/apps`. You should ensure the web server handling Reverb requests can serve both of these URIs. If you are using [Laravel Forge](https://forge.laravel.com) to manage your servers, your Reverb server will be correctly configured by default. Typically, web servers are configured to limit the number of allowed connections in order to prevent overloading the server. To increase the number of allowed connections on an Nginx web server to 10,000, the `worker_rlimit_nofile` and `worker_connections` values of the `nginx.conf` file should be updated: