This is an automated email from the ASF dual-hosted git repository.
likyh pushed a commit to branch release-v0.16
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.16 by this push:
new 153cb13a2 fix: nginx timeout is too short causing download log fails
with 504 (#4688)
153cb13a2 is described below
commit 153cb13a264bc49315737812ac2e7e87a0075041
Author: Klesh Wong <[email protected]>
AuthorDate: Thu Mar 16 17:36:41 2023 +0800
fix: nginx timeout is too short causing download log fails with 504 (#4688)
---
config-ui/nginx.conf | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/config-ui/nginx.conf b/config-ui/nginx.conf
index 97c6f9601..25ddcf05e 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 http://$target;
}
@@ -25,8 +25,7 @@ ${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 http://$target;
- }
}