This is an automated email from the ASF dual-hosted git repository.
ka94 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 130d99da3 fix: nginx timeout is too short causing download log fails
with 504 (#4670)
130d99da3 is described below
commit 130d99da3b60371ebc29c31496112a2bd212129d
Author: Klesh Wong <[email protected]>
AuthorDate: Tue Mar 21 06:31:14 2023 +0800
fix: nginx timeout is too short causing download log fails with 504 (#4670)
---
config-ui/nginx.conf | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/config-ui/nginx.conf b/config-ui/nginx.conf
index 0a8ec3a54..098206310 100644
--- a/config-ui/nginx.conf
+++ b/config-ui/nginx.conf
@@ -14,8 +14,8 @@ ${SERVER_CONF}
resolver_timeout 3s;
set $target "${DEVLAKE_ENDPOINT}";
rewrite /api/(.*) /$1 break;
- proxy_send_timeout 10s;
- proxy_read_timeout 10s;
+ proxy_send_timeout 60s;
+ proxy_read_timeout 60s;
proxy_pass ${DEVLAKE_ENDPOINT_PROTO}://$target;
}
@@ -25,8 +25,8 @@ ${SERVER_CONF}
set $target "${GRAFANA_ENDPOINT}";
rewrite /grafana/(.*) /$1 break;
proxy_set_header Authorization "";
- proxy_send_timeout 10s;
- proxy_read_timeout 10s;
+ proxy_send_timeout 60s;
+ proxy_read_timeout 60s;
proxy_pass ${GRAFANA_ENDPOINT_PROTO}://$target;
}
}