diff --git a/modules/nixos/monitoring/promtail.nix b/modules/nixos/monitoring/promtail.nix index ab59817..3169837 100644 --- a/modules/nixos/monitoring/promtail.nix +++ b/modules/nixos/monitoring/promtail.nix @@ -1,4 +1,4 @@ -{...}: { +{lib, ...}: { services = { promtail = { enable = true; @@ -36,5 +36,20 @@ ]; }; }; + + nginx = { + enable = lib.mkForce true; + virtualHosts = { + "promtail.tux.rs" = { + forceSSL = true; + enableACME = true; + locations = { + "/" = { + proxyPass = "http://localhost:3000"; + }; + }; + }; + }; + }; }; }