evanpelle
44920f030b
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.
2025-11-21 14:06:31 -08:00
evanpelle
d522c33ba3
cache /commit.txt for only 5 seconds to prevent stale git commits
2025-09-12 09:00:49 -07:00
evanpelle
005f0ddd03
have nginx support up to 40 workers
2025-05-14 15:47:27 -07:00
Juan Broullon
d4ddffe1eb
fix: nginx not caching static resources ( #254 )
...
The current nginx config isn't caching any images given they're not
being served under the `/static/` path.
2025-03-21 10:06:09 -07:00
Evan
952c747c51
still allow nginx to cache root for 1 second
2025-03-18 10:12:42 -07:00
Evan
388aafbbf5
add more aggressive headers to prevent caching the root.
2025-03-18 09:57:28 -07:00
evanpelle
8b5d402d96
fix nginx.conf ( #226 )
2025-03-12 12:29:08 -07:00
evanpelle
ea628570b2
have nginx cache index for 1s. ( #224 )
...
This is required for A B deployments, the browser wasn't updating due to
conditional caches
2025-03-12 11:03:28 -07:00
Evan
e97fe402ef
update config back to 1 second shortest cache allowed
2025-03-06 19:10:04 -08:00
Evan
e27f889318
reduce public_lobbies cache to 500ms
2025-03-06 18:47:46 -08:00
Evan
152ffb8dc1
update to /api/public lobbies nginx config
2025-03-06 10:41:20 -08:00
Evan
c42b53a536
update nginx to cache public_lobbies and /api/env
2025-03-06 10:21:04 -08:00
Evan
dacd9607e4
update ttl, use file based hashing to prevent stale data.
2025-03-05 20:14:49 -08:00
Evan
be5157a25c
have nginx cache static assets
2025-03-05 08:04:12 -08:00
Evan
f540d0302c
configure nginx to run in container
2025-02-27 19:21:18 -08:00
Evan
3494c54906
use node cluster to shard server
2025-02-27 10:45:30 -08:00