From 6e011cd536cde89e24359b11c8fe3086cc4bfe64 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Thu, 9 Mar 2023 01:05:34 -0500 Subject: [PATCH] add apache websocket example Fixes #2050 --- docs/MANUAL.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/MANUAL.md b/docs/MANUAL.md index f13dd940..9fedbb1d 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -1017,6 +1017,16 @@ or with Gamja, create a new `config.json` (in the base directory of the Gamja in } ``` +On Apache 2.4.47 or higher, websocket proxying can be configured with: + +``` +RequestHeader setifempty X-Forwarded-Proto https + +ProxyPreserveHost On +ProxyPass /webirc http://127.0.0.1:8067 upgrade=websocket +ProxyPassReverse /webirc http://127.0.0.1:8067 +``` + ## Migrating from Anope or Atheme You can import user and channel registrations from an Anope or Atheme database into a new Ergo database (not all features are supported). Use the following steps: