From a7af16d37a91f146d0cd6ffda51551e4372becf1 Mon Sep 17 00:00:00 2001 From: Piotr Dobrowolski Date: Tue, 19 Sep 2023 20:10:57 +0200 Subject: [PATCH] hswaw/machines/customs: add htpasswd file support, expose label This allows for generic service access to hswaw LAN sites. Change-Id: I2b290b19ae83496d6b878005ae1c57b0d3955e73 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1603 Reviewed-by: vuko --- hswaw/machines/customs.hackerspace.pl/beyondspace.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hswaw/machines/customs.hackerspace.pl/beyondspace.nix b/hswaw/machines/customs.hackerspace.pl/beyondspace.nix index 90b17c01..02e677d8 100644 --- a/hswaw/machines/customs.hackerspace.pl/beyondspace.nix +++ b/hswaw/machines/customs.hackerspace.pl/beyondspace.nix @@ -4,6 +4,7 @@ let beyondspaceDomains = { "inventory.waw.hackerspace.pl" = "https"; "vending.waw.hackerspace.pl" = "https"; + "label.waw.hackerspace.pl" = "http"; }; in with lib; { @@ -15,6 +16,7 @@ in with lib; { extraConfig = { oidc-issuer-url = "https://sso.hackerspace.pl"; email-domain = "*"; + htpasswd-file = "/var/beyondspace.htpasswd"; }; };