Merge pull request #3800 from holl0wstar/patch-1

Update HAProxy Config Docs
This commit is contained in:
Griatch 2025-08-14 16:42:04 +02:00 committed by GitHub
commit 1b793975d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -157,6 +157,8 @@ We use the `my.awesomegame.com` example here and here are the ports
- `4001` is the standard Evennia webserver port (firewall closed!) - `4001` is the standard Evennia webserver port (firewall closed!)
- `4002` is the default Evennia websocket port (we use the same number for - `4002` is the default Evennia websocket port (we use the same number for
the outgoing wss port, so this should be open in firewall). the outgoing wss port, so this should be open in firewall).
- `4000` is the default Telnet port for Evennia, and we proxy through HAProxy
so `7000` can used for Secure Telnet connections instead.
```shell ```shell
# base stuff to set up haproxy # base stuff to set up haproxy
@ -187,6 +189,14 @@ listen evennia-secure-websocket
timeout server 10m timeout server 10m
timeout connect 5m timeout connect 5m
listen evennia-secure-telnet
bind my.awesomegame.com:7000 ssl no-sslv3 no-tlsv10 crt /etc/letsencrypt/live/my.awesomegame.com/my.awesomegame.com.pem
server localhost 127.0.0.1:4000
mode tcp
timeout client 10m
timeout server 10m
timeout connect 5m
``` ```
## Putting it all together ## Putting it all together