Add caddy reverse proxy websocket example (#2119)

* Add caddy reverse proxy websocket example

* Use consistent hostname for caddy reverse proxy
This commit is contained in:
Neale Pickett 2024-01-12 11:30:53 -07:00 committed by GitHub
parent 3839f8ae60
commit 7b525f8899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -1033,6 +1033,14 @@ ProxyPass /webirc http://127.0.0.1:8067 upgrade=websocket
ProxyPassReverse /webirc http://127.0.0.1:8067
```
On Caddy, websocket proxying can be configured with:
```
handle_path /webirc {
reverse_proxy 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: