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

abeizn 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 c7907b627 feat: upgrade grafana to v9.5.1 (#5145)
c7907b627 is described below

commit c7907b62736c30798b79a7ffafeaa489f6d20bdb
Author: Klesh Wong <[email protected]>
AuthorDate: Thu May 11 17:16:32 2023 +0800

    feat: upgrade grafana to v9.5.1 (#5145)
---
 config-ui/nginx.conf | 1 +
 grafana/Dockerfile   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/config-ui/nginx.conf b/config-ui/nginx.conf
index 29709b055..1af9e3329 100644
--- a/config-ui/nginx.conf
+++ b/config-ui/nginx.conf
@@ -29,6 +29,7 @@ ${SERVER_CONF}
     resolver_timeout 3s;
     set $target "${GRAFANA_ENDPOINT}";
     rewrite /grafana/(.*) /$1  break;
+    proxy_set_header Host $http_host;
     proxy_set_header Authorization "";
     proxy_set_header X-Forwarded-Access-Token "${cookie_access_token}";
     proxy_send_timeout 60s;
diff --git a/grafana/Dockerfile b/grafana/Dockerfile
index edbc96137..6be449323 100644
--- a/grafana/Dockerfile
+++ b/grafana/Dockerfile
@@ -23,7 +23,7 @@
 #While incubation status is not necessarily a reflection of the completeness 
or stability of the code,
 #it does indicate that the project has yet to be fully endorsed by the ASF.
 
-FROM grafana/grafana:8.0.6
+FROM grafana/grafana:9.5.1
 COPY ./provisioning/dashboards /etc/grafana/provisioning/dashboards
 COPY ./provisioning/datasources /etc/grafana/provisioning/datasources
 COPY ./dashboards /etc/grafana/dashboards

Reply via email to