From 15f79ce898396ab97d73e571e87ed5f7690d81c4 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 16 May 2025 00:00:21 -0500 Subject: [PATCH] fixing grafana --- modules/base.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/base.nix b/modules/base.nix index cacbd2d..9237850 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -78,6 +78,11 @@ with lib; services.fstrim.enable = true; services = { + nginx.virtualHosts."graf.tfcconnection.org" = { + forceSSL = true; + enableACME = true; + locations."/".proxyPass = "http://${config.services.grafana.settings.server.http_addr}:${toString config.services.grafana.settings.server.http_port}"; + }; grafana = { enable = true; settings.server = {