From a0f980ef310133eb7230777205eb8913f719b82a Mon Sep 17 00:00:00 2001 From: Satria Date: Tue, 24 Mar 2026 08:39:50 +0700 Subject: [PATCH] add auth middleware --- modules/system/homelab/proxy.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/system/homelab/proxy.nix b/modules/system/homelab/proxy.nix index 083a86f..0486260 100644 --- a/modules/system/homelab/proxy.nix +++ b/modules/system/homelab/proxy.nix @@ -104,6 +104,7 @@ in { forwardedHeaders.trustedIPs = [ "127.0.0.1/32" ]; }; }; + http.middlewares.auth.basicAuth.usersFile = "/var/lib/nginx/.htpasswd"; api = { dashboard = true; insecure = true;