Multiplayer: Spielräume mit Code, Ready-Start, geheime Rankings auf jedem Handy (Game-API + Sync-Frontend)
Build & Deploy / deploy (push) Successful in 19s
Build & Deploy / deploy (push) Successful in 19s
This commit is contained in:
@@ -45,6 +45,16 @@ server {
|
||||
proxy_read_timeout 15s;
|
||||
}
|
||||
|
||||
# Game-API (Multiplayer-Spielräume, Container onebis8-api)
|
||||
location /api/game/ {
|
||||
set $game_api http://onebis8-api:8080;
|
||||
proxy_pass $game_api;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
client_max_body_size 64k;
|
||||
proxy_read_timeout 30s;
|
||||
}
|
||||
|
||||
# SPA-Fallback
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
||||
Reference in New Issue
Block a user