Bugfix: Kick player in private lobby not working

Nginx was stripping query params when routing requests to workers, so the creatorClientID param was stripped when creating a private game. This caused the game server to not know who the lobby owner was, so it rejected the kick requests.
This commit is contained in:
evanpelle
2025-11-21 14:06:31 -08:00
parent 1aaf7bd2c5
commit 44920f030b
2 changed files with 11 additions and 18 deletions
+2 -1
View File
@@ -307,7 +307,8 @@ server {
if ($worker = "39") { set $worker_port 3040; }
if ($worker = "40") { set $worker_port 3041; }
proxy_pass http://127.0.0.1:$worker_port$2;
# Preserve query string by appending $is_args$args
proxy_pass http://127.0.0.1:$worker_port$2$is_args$args;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;