You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2022/07/18 03:23:47 UTC

[incubator-devlake] branch main updated: http://config-ui/grafana not working if basic_auth was enabled (#2507)

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 b17dd2a0 http://config-ui/grafana not working if basic_auth was enabled (#2507)
b17dd2a0 is described below

commit b17dd2a05e9cd2e2bad8ef479fbab49cc4ccc3dc
Author: Klesh Wong <zh...@merico.dev>
AuthorDate: Mon Jul 18 11:23:43 2022 +0800

    http://config-ui/grafana not working if basic_auth was enabled (#2507)
    
    * refactor: remove swag from `make dev`
    
    * feat: migration confirmation
    
    * feat: execute migration withut confirmation when FORCE_MIGRATION=true
    
    * fix: config-ui/grafana not working when basic auth was set
---
 config-ui/nginx.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config-ui/nginx.conf b/config-ui/nginx.conf
index 5de4c3bc..69c79e0e 100644
--- a/config-ui/nginx.conf
+++ b/config-ui/nginx.conf
@@ -20,6 +20,7 @@ ${SERVER_CONF}
   }
 
   location /grafana/ {
+    auth_basic off;
     resolver ${DNS} valid=${DNS_VALID};
     resolver_timeout 3s;
     set $target "${GRAFANA_ENDPOINT}";