1
0

users/clerie,hosts/web-2: publish new keys for clerie

This commit is contained in:
2024-04-16 22:28:26 +02:00
parent e2795716c1
commit 95379f15dd
5 changed files with 133 additions and 2 deletions

View File

@@ -18,22 +18,28 @@
rev = "6ae72f9c8616fe005474a1244dbdf8efd61a07a0";
hash = "sha256-GBAclFkcIzCPi8P+UmATw01uzND3EoUYXiytjVnEjtc=";
};
locations."/ssh" = {
root = pkgs.clerie-keys;
};
locations."= /ssh/known_hosts" = {
alias = pkgs.writeText "known_hosts" (import ../../lib/ssh-known-hosts.nix);
extraConfig = ''
types { } default_type "text/plain; charset=utf-8";
'';
};
locations."/gpg" = {
root = pkgs.clerie-keys;
};
locations."~ ^/.well-known/openpgpkey/hu/[a-z0-9]+/?$" = {
extraConfig = ''
default_type application/octet-stream;
types { } default_type application/octet-stream;
add_header Access-Control-Allow-Origin * always;
try_files /gpg/clerie@clerie.de =404;
'';
};
locations."= /.well-known/openpgpkey/policy" = {
extraConfig = ''
default_type application/octet-stream;
types { } default_type application/octet-stream;
add_header Access-Control-Allow-Origin * always;
'';
return = "200 ''";