From 98705a218cc1fa01bdb18aecd267ded6a3a3fbd7 Mon Sep 17 00:00:00 2001 From: clerie Date: Tue, 16 May 2023 08:13:12 +0200 Subject: [PATCH] hosts/storage-2: set secrets permissions for nginx htpasswd --- .../secrets/clerie-backup-job-main.age | 10 ++++++++++ .../secrets/clerie-backup-target-cyan.age | Bin 0 -> 509 bytes .../secrets/clerie-backup-target-magenta.age | Bin 0 -> 429 bytes hosts/storage-2/mixcloud.nix | 5 +++++ 4 files changed, 15 insertions(+) create mode 100644 hosts/minecraft-2/secrets/clerie-backup-job-main.age create mode 100644 hosts/minecraft-2/secrets/clerie-backup-target-cyan.age create mode 100644 hosts/minecraft-2/secrets/clerie-backup-target-magenta.age diff --git a/hosts/minecraft-2/secrets/clerie-backup-job-main.age b/hosts/minecraft-2/secrets/clerie-backup-job-main.age new file mode 100644 index 0000000..463bfad --- /dev/null +++ b/hosts/minecraft-2/secrets/clerie-backup-job-main.age @@ -0,0 +1,10 @@ +age-encryption.org/v1 +-> ssh-ed25519 HwR33w VOKZmTkEoyrKLAN6uNv+LQHqc4avP8iwH4BiM+VueGM +G69PUY0KeW5uKCS+v2v3BWtaxWLTVUx3PIztgBVenNE +-> ssh-ed25519 4YRm+g qCBKNpb6kkqKoHMe6oXJL9yRjY5Re8WJUy/Vm6nY5GY +gRYAzyHROciCgZJQQ8RpxbZ2LMdkvklHfIggLq9J4yk +-> PS60>-grease @iB[%' b&A wKA5$@K +nSwvNJ6vCt24R7Qok7jLttjUQ+Vx1G2tO1Kw1htdZbYy3GNIl2jnkJtn7NJcA6hM +9sgcnQVetxr93l/uiwKyIhQTPcuwuLY +--- GVqzFN33Y1T7jgvEqQqQjBMR3VuEnXY51eKmI9/bO8s +52VfbsD*FW.:[]=&{dS 9}#R׽7o3Q*̫;RM_ \ No newline at end of file diff --git a/hosts/minecraft-2/secrets/clerie-backup-target-cyan.age b/hosts/minecraft-2/secrets/clerie-backup-target-cyan.age new file mode 100644 index 0000000000000000000000000000000000000000..772ccf306da06b4a4b8a6a4a2fcd2bd41eb9060c GIT binary patch literal 509 zcmZ9_O>5I&003YQo^laE6g))`HtDkL%}1Lu7^Z8wq+PP6Nt&c6EZJtiZ#(*qOp44af27cpBgffM6Tw zY}Us-m!N4-Mft2lk{LP~FuDowUO2D0V~Fn*J);@ZL#UXkFo$u%c>dh&q&CTGNan-R zuqrsR*NqFgYRJTp#VvZfVpInsj)Yr+$Ru8-j9Rn*H_Gfpr2wTDx+2E&SQ=@$x;ZYX zi%4``S(f{d)}oT&MYv` z4bO7&G&8Bn%qXo44>X7>Omj-HNDp*ME=tcz&eAstE=h@UPv$BuF9>r=^vXAg%uFfP zcaEqG3ky#P^zcj7PO>Pl%nNd7ex8w^ zTa=?up$S*(V!zP!sp;3YFL6nG<$PwT4g(Kc^!?BPS@Zox#n;(;OkePS3X62uD(-S* zzT>GcHJOthJLI3;5xh8H?eevCotrjfUw-koQvcr}DU0=O0coqI$G&@0Cz-yih$;Et J-33gdaRAhFnYI7` literal 0 HcmV?d00001 diff --git a/hosts/storage-2/mixcloud.nix b/hosts/storage-2/mixcloud.nix index 23f207a..0a18e03 100644 --- a/hosts/storage-2/mixcloud.nix +++ b/hosts/storage-2/mixcloud.nix @@ -46,6 +46,11 @@ let ); in { + age.secrets.mixcloud-htpasswd = { + owner = "nginx"; + group = "nginx"; + }; + services.nginx.virtualHosts = { "mixcloud.clerie.de" = { enableACME = true;