Match relay in the save/login service: WebSocket rooms, seats, ready, 100 ms turn confirmation and checksum relay

This commit is contained in:
Richard Zink committed 2026-11-04 11:48:09 +01:00
1 parent 42034b062b
commit 848ab0f677
6 files changed
+956 -6

No files matched your search

+12
View File
@@ -19,6 +19,18 @@ server {
}
# savegame service (server/). Resolved at request time, so the game still starts without it;
# the game then falls back to savegame files.
# match relay WebSocket (server/src/netplay.rs)
location /api/netplay/ws {
resolver 127.0.0.11 valid=10s ipv6=off;
set $saves http://saves:8080;
proxy_pass $saves;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
}
location /api/ {
resolver 127.0.0.11 valid=10s ipv6=off;
set $saves http://saves:8080;