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 = {