Fix path to secrets on altra

Signed-off-by: magic_rb <richard@brezak.sk>
This commit is contained in:
magic_rb 2023-10-10 14:11:58 +02:00
parent 25f3730f4c
commit 9e3c0ff11f
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -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";
};
}