This is an automated email from the ASF dual-hosted git repository.

klesh 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 61b022bbb fix: use http 1.1 for config-ui nginx proxy (#6191)
61b022bbb is described below

commit 61b022bbb2def18e036da5a75609413c9ff4ea4e
Author: o-farooq <[email protected]>
AuthorDate: Mon Oct 9 21:49:30 2023 +1300

    fix: use http 1.1 for config-ui nginx proxy (#6191)
---
 config-ui/nginx.conf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/config-ui/nginx.conf b/config-ui/nginx.conf
index 8f1755a2a..7fd36601a 100644
--- a/config-ui/nginx.conf
+++ b/config-ui/nginx.conf
@@ -19,6 +19,8 @@ ${SERVER_CONF}
     proxy_send_timeout 60s;
     proxy_read_timeout 60s;
     proxy_pass ${DEVLAKE_ENDPOINT_PROTO}://$target;
+    proxy_http_version 1.1;
+    proxy_set_header   "Connection" "";
   }
 
   location /api/rest/ {
@@ -30,6 +32,8 @@ ${SERVER_CONF}
     proxy_send_timeout 60s;
     proxy_read_timeout 60s;
     proxy_pass ${DEVLAKE_ENDPOINT_PROTO}://$target;
+    proxy_http_version 1.1;
+    proxy_set_header   "Connection" "";
   }
 
   location /grafana/ {
@@ -47,6 +51,8 @@ ${SERVER_CONF}
     proxy_send_timeout 60s;
     proxy_read_timeout 60s;
     proxy_pass ${GRAFANA_ENDPOINT_PROTO}://$target;
+    proxy_http_version 1.1;
+    proxy_set_header   "Connection" "";
   }
 
   location /health/ {

Reply via email to