From 9e3c0ff11fe441dde52ebf0c2b2c9e3bc26630c9 Mon Sep 17 00:00:00 2001 From: magic_rb Date: Tue, 10 Oct 2023 14:11:58 +0200 Subject: [PATCH] Fix path to secrets on altra Signed-off-by: magic_rb --- nixos/systems/altra/http-synapse-proxy.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/systems/altra/http-synapse-proxy.nix b/nixos/systems/altra/http-synapse-proxy.nix index 2660c7c..996fcc3 100644 --- a/nixos/systems/altra/http-synapse-proxy.nix +++ b/nixos/systems/altra/http-synapse-proxy.nix @@ -104,7 +104,7 @@ in ProxyMatch."^([a-zA-Z\-_0-9]+\.)+[a-zA-Z\-_0-9]*:(443|8448|8443|8478|3236|8080).*$" = { AuthType = "Basic"; AuthName = "\"Password Required\""; - AuthUserFile = "/var/secret/htpasswd"; + AuthUserFile = "/var/secrets/htpasswd"; RequireAll."" = { @@ -124,7 +124,7 @@ in ProxyMatch."^http:\/\/([a-zA-Z\-_0-9]+\.)+[a-zA-Z\-_0-9]*(|:(80|8080))$" = { AuthType = "Basic"; AuthName = "\"Password Required\""; - AuthUserFile = "/var/secret/htpasswd"; + AuthUserFile = "/var/secrets/htpasswd"; RequireAll."" = { @@ -210,6 +210,6 @@ in }; systemd.services."acme-sh-apache-proxy" = { - serviceConfig.EnvironmentFile = mkForce "/var/secret/hetzner.env"; + serviceConfig.EnvironmentFile = mkForce "/var/secrets/hetzner.env"; }; }