fix: something
This commit is contained in:
+14
-1
@@ -28,9 +28,18 @@ server {
|
||||
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;
|
||||
|
||||
# A power action blocks until the game server has actually shut down.
|
||||
# ARK saves its world for minutes, so the default 60s would 504 on a
|
||||
# stop that is still progressing normally.
|
||||
proxy_read_timeout 400s;
|
||||
proxy_send_timeout 400s;
|
||||
|
||||
# File manager uploads.
|
||||
client_max_body_size 128m;
|
||||
}
|
||||
|
||||
# Socket.IO proxy
|
||||
# Socket.IO proxy (live console)
|
||||
location /socket.io/ {
|
||||
proxy_pass http://api:3000;
|
||||
proxy_http_version 1.1;
|
||||
@@ -39,6 +48,10 @@ server {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
# An idle console must not be torn down every 60s.
|
||||
proxy_read_timeout 1h;
|
||||
proxy_send_timeout 1h;
|
||||
}
|
||||
|
||||
# Static assets caching
|
||||
|
||||
Reference in New Issue
Block a user