This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch fix#7328
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/fix#7328 by this push:
new a766d9966 fix: grafana 10.4.1 remove rewrite grafana
a766d9966 is described below
commit a766d996672b3a9990ee5075c0e8687438933118
Author: abeizn <[email protected]>
AuthorDate: Tue Apr 16 15:35:09 2024 +0800
fix: grafana 10.4.1 remove rewrite grafana
---
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 6e2b7f84d..92a37a7a4 100644
--- a/config-ui/nginx.conf
+++ b/config-ui/nginx.conf
@@ -52,7 +52,7 @@ ${SERVER_CONF}
resolver ${DNS} valid=${DNS_VALID};
resolver_timeout 3s;
set $target "${GRAFANA_ENDPOINT}";
- rewrite /grafana/(.*) /$1 break;
+ # rewrite /grafana/(.*) /$1 break;
proxy_set_header Host $http_host;
proxy_set_header Authorization "";
proxy_set_header X-Forwarded-Access-Token "${cookie_access_token}";