about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2022-11-06T01·08-0400
committergrfn <grfn@gws.fyi>2022-11-06T01·13+0000
commit116c8d81c62f2a8aee5ce2a0fb53dd3e7907fbe3 (patch)
treeefb5338d8fb4d127e66734735c777b32b9458fba
parent89854e2331fde7caeecbb740c4165314d031932b (diff)
chore(grfn/mugwump): Use non-deprecated option for grafana port r/5253
Reference the non-deprecated version of the grafana http port option in
the proxyPass for the nginx config of mugwump.

Change-Id: Ic7f370c7f7a451fe95a046d491d7b1cdf5f728cd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7200
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/grfn/system/system/machines/mugwump.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/grfn/system/system/machines/mugwump.nix b/users/grfn/system/system/machines/mugwump.nix
index e52576a6cc68..f5b3176ca2fd 100644
--- a/users/grfn/system/system/machines/mugwump.nix
+++ b/users/grfn/system/system/machines/mugwump.nix
@@ -145,7 +145,7 @@ with lib;
         enableACME = true;
         forceSSL = true;
         locations."/" = {
-          proxyPass = "http://localhost:${toString config.services.grafana.port}";
+          proxyPass = "http://localhost:${toString config.services.grafana.settings.server.http_port}";
         };
       };
     };