1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

fix: invalid space in htpasswd file

This commit is contained in:
oddlama 2023-06-22 00:57:30 +02:00
parent f0d2475f74
commit dea87afdbc
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 1 additions and 1 deletions

View file

@ -377,7 +377,7 @@
}: '' }: ''
echo " -> Aggregating "${lib.escapeShellArg host}":"${lib.escapeShellArg name}"" >&2 echo " -> Aggregating "${lib.escapeShellArg host}":"${lib.escapeShellArg name}"" >&2
${decrypt} ${lib.escapeShellArg file} \ ${decrypt} ${lib.escapeShellArg file} \
| ${pkgs.apacheHttpd}/bin/htpasswd -niBC 12 ${lib.escapeShellArg host}"+"${lib.escapeShellArg name}" " \ | ${pkgs.apacheHttpd}/bin/htpasswd -niBC 12 ${lib.escapeShellArg host}"+"${lib.escapeShellArg name} \
|| die "Failure while aggregating caddy basic auth hashes" || die "Failure while aggregating caddy basic auth hashes"
''); '');