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 1bd81073 fix: when clicking the dashboard button on the config-ui 
page, a username and password error occurs (#2547)
1bd81073 is described below

commit 1bd8107320bd87ee04c4ee8714fe8da814d34b55
Author: KeHaohaoke <[email protected]>
AuthorDate: Wed Jul 20 12:29:46 2022 +0800

    fix: when clicking the dashboard button on the config-ui page, a username 
and password error occurs (#2547)
    
    Signed-off-by: KeHaoKH <[email protected]>
---
 config-ui/nginx.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config-ui/nginx.conf b/config-ui/nginx.conf
index 69c79e0e..97c6f960 100644
--- a/config-ui/nginx.conf
+++ b/config-ui/nginx.conf
@@ -20,11 +20,11 @@ ${SERVER_CONF}
   }
 
   location /grafana/ {
-    auth_basic off;
     resolver ${DNS} valid=${DNS_VALID};
     resolver_timeout 3s;
     set $target "${GRAFANA_ENDPOINT}";
     rewrite /grafana/(.*) /$1  break;
+    proxy_set_header Authorization "";
     proxy_send_timeout 10s;
     proxy_read_timeout 10s;
     proxy_pass http://$target;

Reply via email to