From 7430d992f247079f15e8f99ac94aec5b364ffc2a Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 13 Oct 2023 16:55:39 +0800 Subject: [PATCH] hosts/plover: fix nginx code for Grafana server --- hosts/plover/modules/services/grafana.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/plover/modules/services/grafana.nix b/hosts/plover/modules/services/grafana.nix index 50b52f9d..31dfda67 100644 --- a/hosts/plover/modules/services/grafana.nix +++ b/hosts/plover/modules/services/grafana.nix @@ -104,7 +104,7 @@ in }; # Make Grafana as the default to be redirected. - "= /".return = "/grafana"; + "= /".return = "301 /grafana"; # Serving Grafana with a subpath. "/grafana" = {