From b30b81c4ed824151dbcbe085da23e0b9f0b137a8 Mon Sep 17 00:00:00 2001 From: iamshoXy Date: Sat, 9 Sep 2023 13:35:12 +0200 Subject: [PATCH] Increase proxy timeout --- docker/production/nginx/default.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/production/nginx/default.conf b/docker/production/nginx/default.conf index 43cfe0f9..0f97cb85 100644 --- a/docker/production/nginx/default.conf +++ b/docker/production/nginx/default.conf @@ -13,6 +13,8 @@ server { # Using a variable here stops nginx from crashing if the dev container is restarted or becomes otherwise unavailable set $backend_upstream "http://api:_API_PORT_"; + proxy_read_timeout 3600; + location /api { # Remove /api/ from the beginning when passing the path to the API process rewrite /api(/.*)$ $1 break;