This commit is contained in:
Gabe Venberg 2025-04-13 22:05:58 +02:00
parent 48c60629ab
commit 9177a84b5c
3 changed files with 5 additions and 3 deletions

View file

@ -91,7 +91,8 @@
appendOnly = true;
dataDir = cfg.server.repositoryPath;
listenAddress = "127.0.0.1:${cfg.server.port}";
extraFlags = ["--htpasswd-file '${cfg.server.htpasswdPath}'"];
# TODO: fix https://github.com/NixOS/nixpkgs/issues/398172 to enable this.
# extraFlags = ["--htpasswd-file='${cfg.server.htpasswdPath}'"];
};
services.nginx.virtualHosts =