Skip to content

Commit 63cf896

Browse files
setup a websocket connection port
1 parent 050de0f commit 63cf896

3 files changed

Lines changed: 1427 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
4646
# Disable external_port_2
4747
sed -i 's|^external_port_2|# external_port_2|' lib/secure/etc/nightmare-residuum.config
48+
# Disable external_port_3
49+
sed -i 's|^external_port_3|# external_port_3|' lib/secure/etc/nightmare-residuum.config
4850
shell: bash
4951
timeout-minutes: 1
5052

lib/secure/etc/nightmare-residuum.config

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010
name : Residuum
1111

1212
# the external ports we support
13-
external_port_1: telnet 6666
14-
external_port_2: telnet 6667
15-
external_port_2_tls: cert=secure/etc/tls/nightmare-residuum.com.crt key=secure/etc/tls/nightmare-residuum.com.key
13+
external_port_1 : telnet 6666
14+
external_port_2 : telnet 6667
15+
external_port_2_tls : cert=secure/etc/tls/nightmare-residuum.com.crt key=secure/etc/tls/nightmare-residuum.com.key
16+
external_port_3 : websocket 6668
17+
external_port_3_tls : cert=secure/etc/tls/nightmare-residuum.com.crt key=secure/etc/tls/nightmare-residuum.com.key
18+
websocket http dir : www
1619

1720
# absolute pathname of mudlib
1821
mudlib directory : /home/mud/game/lib

0 commit comments

Comments
 (0)