feat: add multiplayer lobby and game board

This commit is contained in:
2026-06-19 16:13:55 +09:00
parent bb5f663e48
commit 1af3c71f8a
29 changed files with 4156 additions and 148 deletions

View File

@@ -23,6 +23,19 @@ server {
add_header X-Content-Type-Options "nosniff";
}
location /socket.io/ {
proxy_pass http://playuniare-server:31873;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 65s;
proxy_buffering off;
}
location ~* \.(?:css|js|jpg|jpeg|gif|png|svg|ico|webp|woff2?)$ {
expires 7d;
add_header Cache-Control "public, max-age=604800, immutable";