Skip to content

Commit

Permalink
fix: /grafana should be off (#6966) (#6967)
Browse files Browse the repository at this point in the history
Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>
  • Loading branch information
github-actions[bot] and klesh authored Feb 18, 2024
1 parent eb1d26a commit 3c38f03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config-ui/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ ${SERVER_CONF}
}

location /grafana/ {
auth_basic off;
set $external "${USE_EXTERNAL_GRAFANA}";
if ($external = "true") {
return 302 "${GRAFANA_ENDPOINT}";
Expand Down

0 comments on commit 3c38f03

Please sign in to comment.